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 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 fn no_missing_unsafe_diagnostic_w... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 bitreverse(x: u32) -> 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\npub unsafe fn floorf32(x: f32) -> f32... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 fn no_missing_unsafe_diagnostic_w... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 bitreverse(x: u32) -> 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 pub fn floorf32(x: f32) -> f32; /... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 fn no_missing_unsafe_diagnostic_w... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 set_var() {}\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 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 fn add_unsafe_block_when_derefere... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 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 fn add_unsafe_block_when_calling_... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would."
},
{
"role": "user",
"content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nunsafe fn 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\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\nunsafe fn 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\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 fn add_unsafe_block_when_calling_... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 S(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\n unsafe fn func(&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\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\nstruct S(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\n unsafe fn func(&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\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 fn add_unsafe_block_when_accessin... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 Ty {\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 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\nstruct Ty {\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 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 fn add_unsafe_block_when_calling_... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 floorf32(x: f32) -> f32;\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 fn floorf32(x: f32) -> f32;\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 fn unsafe_expr_as_a_receiver_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\nunsafe fn foo() -> String {\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\nunsafe fn foo() -> String {\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 fn unsafe_expr_as_an_argument_of_... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 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 fn unsafe_expr_as_left_hand_side_... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 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 fn unsafe_expr_as_right_hand_side... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 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 fn unsafe_expr_in_binary_plus() {... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 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 fn ref_to_unsafe_expr() {\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 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 fn ref_ref_to_unsafe_expr() {\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 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 fn unsafe_expr_in_macro_call() {\... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would."
},
{
"role": "user",
"content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nunsafe fn foo() -> 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\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 fn rustc_deprecated_safe_2024() {... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would."
},
{
"role": "user",
"content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nunsafe fn deprecated_safe() -> 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\nunsafe fn deprecated_safe() -> 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\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 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 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 fn orphan_unsafe_format_args() {\... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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\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\n fn unsafe_op_in_unsafe_fn_allowed... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would."
},
{
"role": "user",
"content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nunsafe fn foo(p: *mut 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\nunsafe fn foo(p: *mut 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 unsafe_op_in_unsafe_fn_warn_by... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would."
},
{
"role": "user",
"content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nunsafe fn foo(p: *mut 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\nunsafe fn foo(p: *mut 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 unsafe_op_in_unsafe_fn() {\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\nunsafe fn foo(p: *mut 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 no_unsafe_diagnostic_with_safe... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 safe fn f();\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 unsafe fn g();\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 h();\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 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 fn no_unsafe_diagnostic_when_dest... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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: &Union) {\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 union_destructuring() {\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 @ Union { field: _field }: &... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 union_field_access() {\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: &Union) {\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 inline_asm() {\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() {\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 unsafe_op_in_unsafe_fn_dismiss... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, types, and semantic structure as rust-analyzer would."
},
{
"role": "user",
"content": "Analyze this Rust code and identify the symbols defined.\n\nCode:\n```rust\nunsafe fn foo(Union { field: _field }... |
[
{
"role": "system",
"content": "You are a Rust code analysis expert. Analyze code for symbols, 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 union_assignment_allowed() {\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(mut v: Union) {\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 Struct { field: u32 }\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(mut v: Union2) {\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 raw_ref_reborrow_is_safe() {\n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.