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\n pub fn delete(range: TextRange) -...
[ { "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 insert(offset: TextUnit, t...
[ { "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 find_reparsable_node(node: SyntaxN...
[ { "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 reparser(node: SyntaxNodeRef) ...
[ { "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 /*(meh)*/ fn replace_range(mut te...
[ { "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 is_balanced(tokens: &[Token]) -> 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 pub fn replace(range: TextRange, ...
[ { "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 delete(range: TextRange) -...
[ { "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 insert(offset: TextUnit, t...
[ { "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 find_reparsable_node(node: SyntaxN...
[ { "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 reparser(node: SyntaxNodeRef) ...
[ { "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 /*(meh)*/ fn replace_range(mut te...
[ { "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 is_balanced(tokens: &[Token]) -> 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\nfn merge_errors(\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 Parse<T> {\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 clone(&self) -> Parse<T> {\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 new(green: GreenNode, 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\n pub fn syntax_node(&self) -> 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\n pub fn errors(&self) -> Vec<Synta...
[ { "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 to_syntax(self) -> Parse<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\n pub fn tree(&self) -> T {\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 ok(self) -> Result<T, Vec<...
[ { "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 cast<N: AstNode>(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 debug_dump(&self) -> Strin...
[ { "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 reparse(&self, delete: Tex...
[ { "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 incremental_reparse(\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 full_reparse(&self, delete: Te...
[ { "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 parse(text: &str, edition:...
[ { "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 parse(text: &str, edition:...
[ { "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 api_walkthrough() {\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 foo() {\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 AstPtr<N: AstNode> {\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 std::fmt::F...
[ { "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 clone(&self) -> AstPtr<N> {\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 eq(&self, other: &AstPtr<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 hash<H: Hasher>(&self, state: ...
[ { "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 new(node: &N) -> AstPtr<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 to_node(&self, root: &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\n pub fn syntax_node_ptr(&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 text_range(&self) -> TextR...
[ { "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 cast<U: AstNode>(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 kind(&self) -> parser::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 upcast<M: AstNode>(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 try_from_raw(raw: SyntaxNo...
[ { "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 wrap_left<R>(self) -> AstP...
[ { "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 wrap_right<L>(self) -> Ast...
[ { "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(ptr: AstPtr<N>) -> 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\nfn test_local_syntax_ptr() {\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 let file = SourceFile::parse(\"st...
[ { "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 RustLanguage {}\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 kind_from_raw(raw: rowan::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\n fn kind_to_raw(kind: SyntaxKind) ...
[ { "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 SyntaxTreeBuilder {\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(crate) fn finish_raw(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(self) -> Parse<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\n pub fn token(&mut self, kind: 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 start_node(&mut self, kind...
[ { "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_node(&mut 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\n pub fn error(&mut self, error: St...
[ { "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 SyntaxError(String, TextRa...
[ { "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// FIXME: there was an unused SyntaxE...
[ { "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 new(message: impl Into<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 fn new_at_offset(message: imp...
[ { "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 range(&self) -> TextRange ...
[ { "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_range(mut self, range...
[ { "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 kind() -> SyntaxKind\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 can_cast(kind: SyntaxKind) -> ...
[ { "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 cast(syntax: SyntaxNode) -> Op...
[ { "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 syntax(&self) -> &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\n fn clone_for_update(&self) -> 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 clone_subtree(&self) -> 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\n fn can_cast(token: SyntaxKind) ->...
[ { "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 cast(syntax: SyntaxToken) -> O...
[ { "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 syntax(&self) -> &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 text(&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\npub struct AstChildren<N> {\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 new(parent: &SyntaxNode) -> Se...
[ { "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 next(&mut self) -> Option<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 can_cast(kind: SyntaxKind) -> ...
[ { "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 cast(syntax: SyntaxNode) -> Op...
[ { "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 syntax(&self) -> &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\n fn start(&self) -> Option<Self::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 end(&self) -> Option<Self::Bou...
[ { "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 op_kind(&self) -> Option<Range...
[ { "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 op_token(&self) -> Option<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\n pub(super) fn child<N: AstNode>(p...
[ { "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 children<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\n pub(super) fn token(parent: &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\nfn assert_ast_is_dyn_compatible() {\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 _f(_: &dyn AstNode, _: &dyn Ha...
[ { "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_none() {\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_outer_doc_comment_of_items() ...
[ { "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_inner_doc_comment_of_items() ...
[ { "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_of_statics() {\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_doc_comment_preserves_indents...
[ { "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() {\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 \" doc1\\n ```\\n fn foo() {\...
[ { "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_preserves_newline...
[ { "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...