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(a: &dyn A) -> &dyn B {\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 trait_upcast_err() {\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(a: &dyn A) -> &dyn B {\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 return_no_value() {\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 f() -> i32 {\n```" }, { "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\nfn g() { return; }\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 smoke_test_inner_items() {\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 f() {\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\n fn inner() -> 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 fn regression_17585() {\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 f() {\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\n fn complex_enum_variant_non_ref_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\nenum Enum { Variant }\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 foo(v: &Enum) {\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 regression_19844() {\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\n struct S {}\n```" }, { "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\n enum E { V() }\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(crate) fn trait_impl_redundant_as...
[ { "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 format!(\"`fn {redund...
[ { "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 quickfix_for_redundant_assoc_item(...
[ { "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 quickfix_for_assoc_func() {\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 boo();\n```" }, { "rol...
[ { "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\nstruct 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\n fn boo() {}\n```" }, { "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\n fn bar(_a: i32, _b: String) -> 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\n fn boo();\n```" }, { "rol...
[ { "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\nstruct 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\n fn bar(_a: i32, _b: String) -> 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\n fn boo() {}\n```" }, { "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\n fn quickfix_for_assoc_const() {\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\nstruct 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\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\nstruct 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\n fn quickfix_for_assoc_type() {\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\nstruct 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\nstruct 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\n fn quickfix_dont_work() {\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;\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 trait_with_default_value() {\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 boo();\n```" }, { "rol...
[ { "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\nstruct 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\n fn bar() {}\n```" }, { "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\n //^^^^^^^^^^^ 💡 error: `fn bar` is...
[ { "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 boo() {}\n```" }, { "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\n fn dont_work_for_negative_impl() ...
[ { "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 boo();\n```" }, { "rol...
[ { "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\nstruct 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\n fn bar() {}\n```" }, { "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\n fn boo() {}\n```" }, { "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) fn private_field(ctx: &Dia...
[ { "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) fn field_is_private_fixes(...
[ { "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 private_field() {\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\nmod module { pub struct Struct { fiel...
[ { "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(s: module::Struct) {\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 private_tuple_field() {\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\nmod module { pub struct Struct(u32); ...
[ { "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(s: module::Struct) {\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 private_but_shadowed_in_deref(...
[ { "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 struct Struct { field: Inner ...
[ { "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 struct Inner { pub field: u32...
[ { "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) -> &Inner { &...
[ { "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(s: module::Struct) {\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 block_module_madness() {\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\n pub struct Struct {\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 block_module_madness2() {\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\n pub struct Struct {\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 change_visibility_fix() {\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 struct Struct {\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 foo(v: foo::bar::Struct) {\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 struct Struct {\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 foo(v: foo::bar::Struct) {\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 change_visibility_with_existin...
[ { "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 struct Struct {\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 foo(v: foo::bar::Struct) {\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 struct Struct {\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 foo(v: foo::bar::Struct) {\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(crate) fn incorrect_generics_orde...
[ { "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 lifetime_out_of_order() {\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\nstruct Foo<'a, T>(&'a 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\nfn bar(_v: Foo<(), 'static>) {}\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 types_and_consts() {\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\nstruct Foo<T>(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\nfn foo1(_v: Foo<1>) {}\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 foo2(_v: Foo<{ (1, 2) }>) {}\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\nstruct Bar<const N: usize>;\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 bar(_v: 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\nstruct Baz<T, const N: usize>(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\nfn baz(_v: Baz<1, ()>) {}\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 no_error_when_num_incorrect() ...
[ { "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\nstruct Baz<T, U>(T, U);\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 baz(_v: Baz<1>) {}\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 // ^^^ error: this struct ...
[ { "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) fn unused_variables(\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 fixes(\n```" }, { "role": ...