messages
listlengths
3
3
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn test_doc_comment_single_line_block...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn test_doc_comment_multi_line_block_...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn test_comments_preserve_trailing_wh...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n \"\\n/// Representation of a ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn test_four_slash_line_comment() {\n...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn test_where_predicates() {\n```" ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn assert_bound(text: &str, bound...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn foo()\n```" }, { "role": "...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn ancestors_at_offset(\n```" }...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n/// struct Foo {}|struct Bar;\n```" ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn find_node_at_offset<N: AstNode...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn find_node_at_range<N: AstNode>...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn skip_trivia_token(mut token: S...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn skip_whitespace_token(mut toke...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn non_trivia_sibling(element: Sy...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn not_trivia(element: &SyntaxEle...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn least_common_ancestor(u: &Synt...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn least_common_ancestor_element(...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn neighbor<T: AstNode>(me: &T, d...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn has_errors(node: &SyntaxNode) ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn previous_non_trivia_token(e: i...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn check_file_invariants(file: &Sourc...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn check_parser(text: &str) {\n``...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub struct CheckReparse {\n```" }, ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn from_data(data: &[u8]) -> ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n const PREFIX: &str = \"fn mai...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn run(&self) {\n```" }, ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn parse_expr_from_str(s: &str, e...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn parse_smoke_test() {\n```" }, ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn main() {\n```" }, { "role"...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn benchmark_parser() {\n```" }, ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn validation_tests() {\n```" }, ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn parser_fuzz_tests() {\n```" }, ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn reparse_fuzz_tests() {\n```" }, ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn self_hosting_parsing() {\n```" }...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn test_data_dir() -> PathBuf {\n```"...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn assert_errors_are_present(errors: ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn dir_tests<F>(test_data_dir: &Path,...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn collect_rust_files(root_dir: &Path...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn rust_files_in_dir(dir: &Path) -> V...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn read_text(path: &Path) -> String {...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub struct TokenText<'a>(pub(crate) R...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub(crate) enum Repr<'a> {\n```" },...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn borrowed(text: &'a str) ->...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub(crate) fn owned(green: GreenT...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn as_str(&self) -> &str {\n`...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn deref(&self) -> &str {\n```" ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn as_ref(&self) -> &str {\n```" ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn from(token_text: TokenText<'_>...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn from(token_text: TokenText<'_>...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn eq(&self, other: &&str) -> boo...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn eq(&self, other: &TokenText<'_...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn eq(&self, other: &String) -> b...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn eq(&self, other: &TokenText<'_...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn eq(&self, other: &TokenText<'_...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn cmp(&self, other: &Self) -> Or...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn partial_cmp(&self, other: &Sel...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn fmt(&self, f: &mut fmt::Format...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn fmt(&self, f: &mut fmt::Format...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub fn is_raw_identifier(name: &str, ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub enum RangeOp {\n```" }, { ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub enum UnaryOp {\n```" }, { ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub enum BinaryOp {\n```" }, { ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub enum LogicOp {\n```" }, { ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub enum CmpOp {\n```" }, { "...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub enum Ordering {\n```" }, { ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub enum ArithOp {\n```" }, { ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn fmt(&self, f: &mut fmt::Format...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn fmt(&self, f: &mut fmt::Format...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn fmt(&self, f: &mut fmt::Format...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn fmt(&self, f: &mut fmt::Format...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn append_node_child(self, childr...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn append_node_child(self, childr...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn append_node_child(self, childr...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn append_node_child(self, _child...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub(crate) const fn verify_only_white...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub struct IndentLevel(pub u8);\n```"...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn from(level: u8) -> IndentLevel...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn fmt(&self, f: &mut fmt::Format...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn add(self, rhs: u8) -> IndentLe...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn single() -> IndentLevel {\...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn is_zero(&self) -> bool {\n...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn from_element(element: &Syn...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn from_node(node: &SyntaxNod...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn from_token(token: &SyntaxT...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n /// fn foo() -> i32 {\n```" }, ...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub(super) fn increase_indent(sel...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub(super) fn decrease_indent(sel...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn prev_tokens(token: SyntaxToken) ->...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn indent_level(&self) -> IndentL...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn indent(&self, level: IndentLev...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn indent_inner(node: &Syntax...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn dedent(&self, level: IndentLev...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn dedent_inner(node: &Syntax...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n fn reset_indent(&self) -> Self {\...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nfn test_increase_indent() {\n```" }...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\npub struct SyntaxFactory {\n```" },...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn with_mappings() -> Self {\...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn without_mappings() -> Self...
[ { "role": "system", "content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would." }, { "role": "user", "content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\n pub fn finish_with_mappings(self)...