id
string | file_path
string | line
uint32 | column
uint32 | phase
string | processing_order
uint32 | element_type
string | element_name
string | element_signature
string | syntax_data
string | symbol_data
string | type_data
string | diagnostic_data
string | processing_time_ms
uint64 | timestamp
uint64 | rust_version
string | analyzer_version
string | source_snippet
string | context_before
string | context_after
string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:643:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 643
| 1
|
type_inference
| 532,201
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
) -> ExpandResult<tt::TopSubtree> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:644:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 644
| 1
|
type_inference
| 532,202
|
variable_or_return
|
krate
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let krate = &dollar_crate(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:646:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 646
| 1
|
type_inference
| 532,203
|
variable_or_return
|
for_variant
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"String"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let for_variant = |name: String, v: &VariantShape| match v {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:648:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 648
| 1
|
type_inference
| 532,204
|
variable_or_return
|
for_fields
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let for_fields = fields.iter().map(|it| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:649:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 649
| 1
|
type_inference
| 532,205
|
variable_or_return
|
x_string
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let x_string = it.to_string();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:659:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 659
| 1
|
type_inference
| 532,206
|
variable_or_return
|
for_fields
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let for_fields = tuple_field_iterator(span, *n).map(|it| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:673:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 673
| 1
|
type_inference
| 532,207
|
variable_or_return
|
star
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let star = tt::Punct { char: '*', spacing: ::tt::Spacing::Alone, span };
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:675:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 675
| 1
|
type_inference
| 532,208
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
fn fmt(&self, f: &mut #krate::fmt::Formatter) -> #krate::fmt::Result {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:680:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 680
| 1
|
type_inference
| 532,209
|
variable_or_return
|
arms
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let arms = match &adt.shape {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:682:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 682
| 1
|
type_inference
| 532,210
|
variable_or_return
|
fat_arrow
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:683:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 683
| 1
|
type_inference
| 532,211
|
variable_or_return
|
name
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let name = &adt.name;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:684:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 684
| 1
|
type_inference
| 532,212
|
variable_or_return
|
pat
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let pat = fields.as_pattern(quote!(span =>#name), span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:685:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 685
| 1
|
type_inference
| 532,213
|
variable_or_return
|
expr
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let expr = for_variant(name.to_string(), fields);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:691:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 691
| 1
|
type_inference
| 532,214
|
variable_or_return
|
fat_arrow
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:692:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 692
| 1
|
type_inference
| 532,215
|
variable_or_return
|
adt_name
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let adt_name = &adt.name;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:693:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 693
| 1
|
type_inference
| 532,216
|
variable_or_return
|
pat
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let pat = v.as_pattern(quote!(span =>#adt_name :: #name), span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:694:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 694
| 1
|
type_inference
| 532,217
|
variable_or_return
|
expr
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let expr = for_variant(name.to_string(), v);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:706:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 706
| 1
|
type_inference
| 532,218
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
fn fmt(&self, f: &mut #krate::fmt::Formatter) -> #krate::fmt::Result {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:719:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 719
| 1
|
type_inference
| 532,219
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
) -> ExpandResult<tt::TopSubtree> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:720:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 720
| 1
|
type_inference
| 532,220
|
variable_or_return
|
krate
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let krate = &dollar_crate(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:727:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 727
| 1
|
type_inference
| 532,221
|
variable_or_return
|
star
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let star = tt::Punct { char: '*', spacing: ::tt::Spacing::Alone, span };
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:734:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 734
| 1
|
type_inference
| 532,222
|
variable_or_return
|
arms
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let arms =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:737:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 737
| 1
|
type_inference
| 532,223
|
variable_or_return
|
expr
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let expr = {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:738:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 738
| 1
|
type_inference
| 532,224
|
variable_or_return
|
it
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let it =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:744:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 744
| 1
|
type_inference
| 532,225
|
variable_or_return
|
fat_arrow
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:750:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 750
| 1
|
type_inference
| 532,226
|
variable_or_return
|
check_discriminant
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let check_discriminant = if matches!(&adt.shape, AdtShape::Enum { .. }) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:770:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 770
| 1
|
type_inference
| 532,227
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
) -> ExpandResult<tt::TopSubtree> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:771:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 771
| 1
|
type_inference
| 532,228
|
variable_or_return
|
krate
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let krate = dollar_crate(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:779:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 779
| 1
|
type_inference
| 532,229
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
) -> ExpandResult<tt::TopSubtree> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:780:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 780
| 1
|
type_inference
| 532,230
|
variable_or_return
|
krate
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let krate = dollar_crate(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:786:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 786
| 1
|
type_inference
| 532,231
|
variable_or_return
|
name
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let name = &adt.name;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:788:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 788
| 1
|
type_inference
| 532,232
|
variable_or_return
|
(self_patterns, other_patterns)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let (self_patterns, other_patterns) = self_and_other_patterns(adt, name, span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:789:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 789
| 1
|
type_inference
| 532,233
|
variable_or_return
|
arms
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let arms = izip!(self_patterns, other_patterns, adt.shape.field_names(span)).map(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:791:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 791
| 1
|
type_inference
| 532,234
|
variable_or_return
|
fat_arrow
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:792:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 792
| 1
|
type_inference
| 532,235
|
variable_or_return
|
body
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let body = match &*names {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:797:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 797
| 1
|
type_inference
| 532,236
|
variable_or_return
|
rest
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let rest = rest.iter().map(|it| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:798:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 798
| 1
|
type_inference
| 532,237
|
variable_or_return
|
t1
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let t1 = tt::Ident::new(&format!("{}_self", it.sym), it.span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:799:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 799
| 1
|
type_inference
| 532,238
|
variable_or_return
|
t2
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let t2 = tt::Ident::new(&format!("{}_other", it.sym), it.span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:800:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 800
| 1
|
type_inference
| 532,239
|
variable_or_return
|
and_and
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let and_and = and_and(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:803:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 803
| 1
|
type_inference
| 532,240
|
variable_or_return
|
first
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let first = {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:804:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 804
| 1
|
type_inference
| 532,241
|
variable_or_return
|
t1
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let t1 = tt::Ident::new(&format!("{}_self", first.sym), first.span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:805:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 805
| 1
|
type_inference
| 532,242
|
variable_or_return
|
t2
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let t2 = tt::Ident::new(&format!("{}_other", first.sym), first.span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:815:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 815
| 1
|
type_inference
| 532,243
|
variable_or_return
|
fat_arrow
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:817:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 817
| 1
|
type_inference
| 532,244
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"bool"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
fn eq(&self, other: &Self) -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:831:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 831
| 1
|
type_inference
| 532,245
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
) -> (Vec<tt::TopSubtree>, Vec<tt::TopSubtree>) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:832:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 832
| 1
|
type_inference
| 532,246
|
variable_or_return
|
self_patterns
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let self_patterns = adt.shape.as_pattern_map(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:835:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 835
| 1
|
type_inference
| 532,247
|
variable_or_return
|
t
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let t = tt::Ident::new(&format!("{}_self", it.sym), it.span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:840:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 840
| 1
|
type_inference
| 532,248
|
variable_or_return
|
other_patterns
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let other_patterns = adt.shape.as_pattern_map(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:843:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 843
| 1
|
type_inference
| 532,249
|
variable_or_return
|
t
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let t = tt::Ident::new(&format!("{}_other", it.sym), it.span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:855:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 855
| 1
|
type_inference
| 532,250
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
) -> ExpandResult<tt::TopSubtree> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:856:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 856
| 1
|
type_inference
| 532,251
|
variable_or_return
|
krate
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let krate = &dollar_crate(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:864:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 864
| 1
|
type_inference
| 532,252
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
) -> tt::TopSubtree {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:865:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 865
| 1
|
type_inference
| 532,253
|
variable_or_return
|
fat_arrow1
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow1 = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:866:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 866
| 1
|
type_inference
| 532,254
|
variable_or_return
|
fat_arrow2
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow2 = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:880:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 880
| 1
|
type_inference
| 532,255
|
variable_or_return
|
(self_patterns, other_patterns)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let (self_patterns, other_patterns) = self_and_other_patterns(adt, &adt.name, span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:881:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 881
| 1
|
type_inference
| 532,256
|
variable_or_return
|
arms
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let arms = izip!(self_patterns, other_patterns, adt.shape.field_names(span)).map(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:883:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 883
| 1
|
type_inference
| 532,257
|
variable_or_return
|
mut body
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let mut body = quote!(span =>#krate::cmp::Ordering::Equal);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:885:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 885
| 1
|
type_inference
| 532,258
|
variable_or_return
|
t1
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let t1 = tt::Ident::new(&format!("{}_self", f.sym), f.span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:886:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 886
| 1
|
type_inference
| 532,259
|
variable_or_return
|
t2
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let t2 = tt::Ident::new(&format!("{}_other", f.sym), f.span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:889:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 889
| 1
|
type_inference
| 532,260
|
variable_or_return
|
fat_arrow
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:893:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 893
| 1
|
type_inference
| 532,261
|
variable_or_return
|
fat_arrow
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:894:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 894
| 1
|
type_inference
| 532,262
|
variable_or_return
|
mut body
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let mut body = quote! {span =>
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:901:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 901
| 1
|
type_inference
| 532,263
|
variable_or_return
|
left
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let left = quote!(span =>#krate::intrinsics::discriminant_value(self));
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:902:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 902
| 1
|
type_inference
| 532,264
|
variable_or_return
|
right
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let right = quote!(span =>#krate::intrinsics::discriminant_value(other));
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:906:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 906
| 1
|
type_inference
| 532,265
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
fn cmp(&self, other: &Self) -> #krate::cmp::Ordering {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:917:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 917
| 1
|
type_inference
| 532,266
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
) -> ExpandResult<tt::TopSubtree> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:918:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 918
| 1
|
type_inference
| 532,267
|
variable_or_return
|
krate
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let krate = &dollar_crate(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:926:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 926
| 1
|
type_inference
| 532,268
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
) -> tt::TopSubtree {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:927:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 927
| 1
|
type_inference
| 532,269
|
variable_or_return
|
fat_arrow1
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow1 = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:928:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 928
| 1
|
type_inference
| 532,270
|
variable_or_return
|
fat_arrow2
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow2 = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:942:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 942
| 1
|
type_inference
| 532,271
|
variable_or_return
|
left
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let left = quote!(span =>#krate::intrinsics::discriminant_value(self));
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:943:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 943
| 1
|
type_inference
| 532,272
|
variable_or_return
|
right
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let right = quote!(span =>#krate::intrinsics::discriminant_value(other));
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:945:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 945
| 1
|
type_inference
| 532,273
|
variable_or_return
|
(self_patterns, other_patterns)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let (self_patterns, other_patterns) = self_and_other_patterns(adt, &adt.name, span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:946:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 946
| 1
|
type_inference
| 532,274
|
variable_or_return
|
arms
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let arms = izip!(self_patterns, other_patterns, adt.shape.field_names(span)).map(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:948:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 948
| 1
|
type_inference
| 532,275
|
variable_or_return
|
mut body
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let mut body =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:951:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 951
| 1
|
type_inference
| 532,276
|
variable_or_return
|
t1
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let t1 = tt::Ident::new(&format!("{}_self", f.sym), f.span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:952:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 952
| 1
|
type_inference
| 532,277
|
variable_or_return
|
t2
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let t2 = tt::Ident::new(&format!("{}_other", f.sym), f.span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:955:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 955
| 1
|
type_inference
| 532,278
|
variable_or_return
|
fat_arrow
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:959:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 959
| 1
|
type_inference
| 532,279
|
variable_or_return
|
fat_arrow
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let fat_arrow = fat_arrow(span);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:960:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 960
| 1
|
type_inference
| 532,280
|
variable_or_return
|
body
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let body = compare(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:973:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 973
| 1
|
type_inference
| 532,281
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
fn partial_cmp(&self, other: &Self) -> #krate::option::Option<#krate::cmp::Ordering> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:984:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 984
| 1
|
type_inference
| 532,282
|
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
) -> ExpandResult<tt::TopSubtree> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:985:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 985
| 1
|
type_inference
| 532,283
|
variable_or_return
|
(adt, _span_map)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let (adt, _span_map) = match to_adt_syntax(db, tt, span) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:991:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 991
| 1
|
type_inference
| 532,284
|
variable_or_return
|
adt
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let adt = adt.clone_for_update();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:992:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 992
| 1
|
type_inference
| 532,285
|
variable_or_return
|
ast::Adt::Struct(strukt)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let ast::Adt::Struct(strukt) = &adt else {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:998:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 998
| 1
|
type_inference
| 532,286
|
variable_or_return
|
has_at_least_one_field
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let has_at_least_one_field = strukt
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1014:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,014
| 1
|
type_inference
| 532,287
|
variable_or_return
|
is_repr_transparent
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let is_repr_transparent = strukt.attrs().any(|attr| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1033:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,033
| 1
|
type_inference
| 532,288
|
variable_or_return
|
type_params
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let type_params = strukt
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1052:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,052
| 1
|
type_inference
| 532,289
|
variable_or_return
|
(pointee_param, pointee_param_idx)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let (pointee_param, pointee_param_idx) = if type_params.len() == 1 {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1056:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,056
| 1
|
type_inference
| 532,290
|
variable_or_return
|
mut pointees
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let mut pointees = type_params.iter().cloned().enumerate().filter(|(_, param)| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1058:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,058
| 1
|
type_inference
| 532,291
|
variable_or_return
|
is_pointee
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let is_pointee = attr.as_simple_atom().is_some_and(|name| name == "pointee");
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1091:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,091
| 1
|
type_inference
| 532,292
|
variable_or_return
|
(Some(struct_name), Some(pointee_param_name))
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let (Some(struct_name), Some(pointee_param_name)) = (strukt.name(), pointee_param.name())
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1100:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,100
| 1
|
type_inference
| 532,293
|
variable_or_return
|
mut pointee_has_maybe_sized_bound
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let mut pointee_has_maybe_sized_bound = false;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1101:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,101
| 1
|
type_inference
| 532,294
|
variable_or_return
|
Some(bounds)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
if let Some(bounds) = pointee_param.type_bound_list() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1104:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,104
| 1
|
type_inference
| 532,295
|
variable_or_return
|
Some(where_clause)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
if let Some(where_clause) = strukt.where_clause() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1106:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,106
| 1
|
type_inference
| 532,296
|
variable_or_return
|
Some(ast::Type::PathType(ty))
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let Some(ast::Type::PathType(ty)) = pred.ty() else { return false };
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1107:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,107
| 1
|
type_inference
| 532,297
|
variable_or_return
|
is_not_pointee
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let is_not_pointee = ty.path().is_none_or(|path| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1108:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,108
| 1
|
type_inference
| 532,298
|
variable_or_return
|
is_pointee
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let is_pointee = path
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1135:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,135
| 1
|
type_inference
| 532,299
|
variable_or_return
|
where_clause
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let where_clause = strukt.get_or_create_where_clause();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs:1138:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs
| 1,138
| 1
|
type_inference
| 532,300
|
variable_or_return
|
mut new_predicates
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
let mut new_predicates = Vec::new();
| null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.