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/eager.rs:130:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 130
| 1
|
type_inference
| 532,501
|
variable_or_return
|
id
| 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 id = def.make_call(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:149:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 149
| 1
|
type_inference
| 532,502
|
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
|
macro_resolver: &dyn Fn(&ModPath) -> Option<MacroDefId>,
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:151:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 151
| 1
|
type_inference
| 532,503
|
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<Option<(SyntaxNode, TextSize)>> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:152:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 152
| 1
|
type_inference
| 532,504
|
variable_or_return
|
original
| 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 original = curr.value.clone_for_update();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:154:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 154
| 1
|
type_inference
| 532,505
|
variable_or_return
|
mut replacements
| 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 replacements = Vec::new();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:157:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 157
| 1
|
type_inference
| 532,506
|
variable_or_return
|
mut error
| 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 error = None;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:158:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 158
| 1
|
type_inference
| 532,507
|
variable_or_return
|
mut children
| 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 children = original.preorder_with_tokens();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:161:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 161
| 1
|
type_inference
| 532,508
|
variable_or_return
|
Some(child)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
while let Some(child) = children.next() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:162:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 162
| 1
|
type_inference
| 532,509
|
variable_or_return
|
call
| 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 call = match child {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:172:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 172
| 1
|
type_inference
| 532,510
|
variable_or_return
|
SyntaxElement::Token(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
|
if let SyntaxElement::Token(t) = child {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:173:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 173
| 1
|
type_inference
| 532,511
|
variable_or_return
|
start
| 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 start = t.text_range().start();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:181:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 181
| 1
|
type_inference
| 532,512
|
variable_or_return
|
def
| 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 def = match call.path().and_then(|path| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:187:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 187
| 1
|
type_inference
| 532,513
|
variable_or_return
|
edition
| 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 edition = krate.data(db).edition;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:205:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 205
| 1
|
type_inference
| 532,514
|
variable_or_return
|
ast_id
| 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_id = db.ast_id_map(curr.file_id).ast_id(&call);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:206:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 206
| 1
|
type_inference
| 532,515
|
variable_or_return
|
ExpandResult { value, err }
| 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 ExpandResult { value, err } = match def.kind {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:208:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 208
| 1
|
type_inference
| 532,516
|
variable_or_return
|
ExpandResult { value, err }
| 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 ExpandResult { value, err } = expand_eager_macro_input(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:224:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 224
| 1
|
type_inference
| 532,517
|
variable_or_return
|
ExpandResult { value: (parse, map), err: err2 }
| 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 ExpandResult { value: (parse, map), err: err2 } =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:229:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 229
| 1
|
type_inference
| 532,518
|
variable_or_return
|
syntax_node
| 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 syntax_node = parse.syntax_node();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:246:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 246
| 1
|
type_inference
| 532,519
|
variable_or_return
|
ExpandResult { value: (parse, tm), err }
| 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 ExpandResult { value: (parse, tm), err } = lazy_expand(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:257:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 257
| 1
|
type_inference
| 532,520
|
variable_or_return
|
ExpandResult { value, err: error }
| 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 ExpandResult { value, err: error } = eager_macro_recur(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs:269:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/eager.rs
| 269
| 1
|
type_inference
| 532,521
|
variable_or_return
|
err
| 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 err = err.or(error);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:36:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 36
| 1
|
type_inference
| 532,522
|
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 deref(&self) -> &[Attr] {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:51:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 51
| 1
|
type_inference
| 532,523
|
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
|
) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:52:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 52
| 1
|
type_inference
| 532,524
|
variable_or_return
|
entries: Vec<_>
| 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 entries: Vec<_> = Self::attrs_iter::<true>(db, owner, span_map).collect();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:54:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 54
| 1
|
type_inference
| 532,525
|
variable_or_return
|
entries
| 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 entries = if entries.is_empty() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:69:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 69
| 1
|
type_inference
| 532,526
|
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
|
) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:70:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 70
| 1
|
type_inference
| 532,527
|
variable_or_return
|
entries: Vec<_>
| 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 entries: Vec<_> =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:73:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 73
| 1
|
type_inference
| 532,528
|
variable_or_return
|
entries
| 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 entries = if entries.is_empty() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:86:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 86
| 1
|
type_inference
| 532,529
|
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
|
) -> impl Iterator<Item = Attr> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:92:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 92
| 1
|
type_inference
| 532,530
|
variable_or_return
|
span
| 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 span = span_map.span_for_range(comment.syntax().text_range());
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:93:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 93
| 1
|
type_inference
| 532,531
|
variable_or_return
|
(text, kind)
| 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 (text, kind) = desugar_doc_comment_text(doc, DocCommentDesugarMode::ProcMacro);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:115:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 115
| 1
|
type_inference
| 532,532
|
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
|
) -> impl Iterator<Item = Attr> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:120:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 120
| 1
|
type_inference
| 532,533
|
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
|
pub fn merge(&self, other: Self) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:126:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 126
| 1
|
type_inference
| 532,534
|
variable_or_return
|
last_ast_index
| 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 last_ast_index = a.slice.last().map_or(0, |it| it.id.ast_index() + 1);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:127:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 127
| 1
|
type_inference
| 532,535
|
variable_or_return
|
items
| 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 items = a
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:132:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 132
| 1
|
type_inference
| 532,536
|
variable_or_return
|
mut 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 mut it = it.clone();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:133:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 133
| 1
|
type_inference
| 532,537
|
variable_or_return
|
id
| 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 id = it.id.ast_index() + last_ast_index;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:144:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 144
| 1
|
type_inference
| 532,538
|
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
|
pub fn expand_cfg_attr(self, db: &dyn ExpandDatabase, krate: Crate) -> RawAttrs {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:145:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 145
| 1
|
type_inference
| 532,539
|
variable_or_return
|
has_cfg_attrs
| 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_cfg_attrs =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:151:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 151
| 1
|
type_inference
| 532,540
|
variable_or_return
|
cfg_options
| 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 cfg_options = krate.cfg_options(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:152:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 152
| 1
|
type_inference
| 532,541
|
variable_or_return
|
new_attrs
| 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 new_attrs = self
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:157:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 157
| 1
|
type_inference
| 532,542
|
variable_or_return
|
entries
| 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 entries = if new_attrs.is_empty() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:165:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 165
| 1
|
type_inference
| 532,543
|
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
|
pub fn is_empty(&self) -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:180:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 180
| 1
|
type_inference
| 532,544
|
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
|
pub fn new(id: usize, is_inner: bool) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:182:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 182
| 1
|
type_inference
| 532,545
|
variable_or_return
|
id
| 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 id = id as u32;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:186:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 186
| 1
|
type_inference
| 532,546
|
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
|
pub fn ast_index(&self) -> usize {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:190:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 190
| 1
|
type_inference
| 532,547
|
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
|
pub fn is_inner_attr(&self) -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:212:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 212
| 1
|
type_inference
| 532,548
|
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 fmt::Formatter<'_>) -> fmt::Result {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:226:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 226
| 1
|
type_inference
| 532,549
|
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
|
) -> Option<Attr> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:227:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 227
| 1
|
type_inference
| 532,550
|
variable_or_return
|
path
| 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 path = ast.path()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:228:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 228
| 1
|
type_inference
| 532,551
|
variable_or_return
|
range
| 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 range = path.syntax().text_range();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:229:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 229
| 1
|
type_inference
| 532,552
|
variable_or_return
|
path
| 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 path = Interned::new(ModPath::from_src(db, path, &mut |range| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:232:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 232
| 1
|
type_inference
| 532,553
|
variable_or_return
|
span
| 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 span = span_map.span_for_range(range);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:233:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 233
| 1
|
type_inference
| 532,554
|
variable_or_return
|
input
| 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 input = if let Some(ast::Expr::Literal(lit)) = ast.expr() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:234:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 234
| 1
|
type_inference
| 532,555
|
variable_or_return
|
token
| 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 token = lit.token();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:236:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 236
| 1
|
type_inference
| 532,556
|
variable_or_return
|
Some(tt)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
} else if let Some(tt) = ast.token_tree() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:237:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 237
| 1
|
type_inference
| 532,557
|
variable_or_return
|
tree
| 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 tree = syntax_node_to_token_tree(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:254:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 254
| 1
|
type_inference
| 532,558
|
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
|
) -> Option<Attr> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:264:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 264
| 1
|
type_inference
| 532,559
|
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 = tt.flat_tokens().first()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:265:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 265
| 1
|
type_inference
| 532,560
|
variable_or_return
|
ctxt
| 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 ctxt = first.first_span().ctx;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:266:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 266
| 1
|
type_inference
| 532,561
|
variable_or_return
|
(path, input)
| 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 (path, input) = {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:267:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 267
| 1
|
type_inference
| 532,562
|
variable_or_return
|
mut iter
| 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 iter = tt.iter();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:268:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 268
| 1
|
type_inference
| 532,563
|
variable_or_return
|
start
| 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 start = iter.savepoint();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:269:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 269
| 1
|
type_inference
| 532,564
|
variable_or_return
|
mut input
| 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 input = tt::TokenTreesView::new(&[]);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:270:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 270
| 1
|
type_inference
| 532,565
|
variable_or_return
|
mut path
| 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 path = iter.from_savepoint(start);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:271:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 271
| 1
|
type_inference
| 532,566
|
variable_or_return
|
mut path_split_savepoint
| 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 path_split_savepoint = iter.savepoint();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:272:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 272
| 1
|
type_inference
| 532,567
|
variable_or_return
|
Some(tt)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3
| 1,754,595,407
|
1.86.0
|
0.3.2000
|
while let Some(tt) = iter.next() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:288:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 288
| 1
|
type_inference
| 532,568
|
variable_or_return
|
path
| 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 path = Interned::new(ModPath::from_tt(db, path)?);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:290:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 290
| 1
|
type_inference
| 532,569
|
variable_or_return
|
input
| 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 input = match (input.flat_tokens().first(), input.try_into_subtree()) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:307:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 307
| 1
|
type_inference
| 532,570
|
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
|
pub fn path(&self) -> &ModPath {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:315:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 315
| 1
|
type_inference
| 532,571
|
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
|
) -> impl IntoIterator<Item = Self> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:316:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 316
| 1
|
type_inference
| 532,572
|
variable_or_return
|
is_cfg_attr
| 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_cfg_attr = self.path.as_ident().is_some_and(|name| *name == sym::cfg_attr);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:321:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 321
| 1
|
type_inference
| 532,573
|
variable_or_return
|
subtree
| 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 subtree = match self.token_tree_value() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:326:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 326
| 1
|
type_inference
| 532,574
|
variable_or_return
|
(cfg, parts)
| 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 (cfg, parts) = match parse_cfg_attr_input(subtree) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:330:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 330
| 1
|
type_inference
| 532,575
|
variable_or_return
|
index
| 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 index = self.id;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:331:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 331
| 1
|
type_inference
| 532,576
|
variable_or_return
|
attrs
| 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 attrs = parts.filter_map(|attr| Attr::from_tt(db, attr, index));
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:333:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 333
| 1
|
type_inference
| 532,577
|
variable_or_return
|
cfg
| 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 cfg = TopSubtree::from_token_trees(subtree.top_subtree().delimiter, cfg);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:334:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 334
| 1
|
type_inference
| 532,578
|
variable_or_return
|
cfg
| 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 cfg = CfgExpr::parse(&cfg);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:347:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 347
| 1
|
type_inference
| 532,579
|
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
|
pub fn string_value(&self) -> Option<&Symbol> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:359:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 359
| 1
|
type_inference
| 532,580
|
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
|
pub fn string_value_with_span(&self) -> Option<(&Symbol, span::Span)> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:371:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 371
| 1
|
type_inference
| 532,581
|
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
|
pub fn string_value_unescape(&self) -> Option<Cow<'_, str>> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:384:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 384
| 1
|
type_inference
| 532,582
|
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
|
pub fn single_ident_value(&self) -> Option<&tt::Ident> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:395:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 395
| 1
|
type_inference
| 532,583
|
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
|
pub fn token_tree_value(&self) -> Option<&TopSubtree> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:406:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 406
| 1
|
type_inference
| 532,584
|
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
|
) -> Option<impl Iterator<Item = (ModPath, Span)> + 'a> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:407:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 407
| 1
|
type_inference
| 532,585
|
variable_or_return
|
args
| 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 args = self.token_tree_value()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:412:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 412
| 1
|
type_inference
| 532,586
|
variable_or_return
|
paths
| 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 paths = args
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:416:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 416
| 1
|
type_inference
| 532,587
|
variable_or_return
|
span
| 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 span = tts.flat_tokens().first()?.first_span();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:423:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 423
| 1
|
type_inference
| 532,588
|
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
|
pub fn cfg(&self) -> Option<CfgExpr> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:432:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 432
| 1
|
type_inference
| 532,589
|
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 unescape(s: &str) -> Option<Cow<'_, str>> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:433:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 433
| 1
|
type_inference
| 532,590
|
variable_or_return
|
mut buf
| 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 mut buf = String::new();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:434:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 434
| 1
|
type_inference
| 532,591
|
variable_or_return
|
mut prev_end
| 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 prev_end = 0;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:435:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 435
| 1
|
type_inference
| 532,592
|
variable_or_return
|
mut has_error
| 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 has_error = false;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:460:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 460
| 1
|
type_inference
| 532,593
|
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
|
) -> impl Iterator<Item = (AttrId, Either<ast::Attr, ast::Comment>)> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:461:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 461
| 1
|
type_inference
| 532,594
|
variable_or_return
|
inner_attrs
| 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 inner_attrs =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:463:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 463
| 1
|
type_inference
| 532,595
|
variable_or_return
|
outer_attrs
| 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 outer_attrs = ast::AttrDocCommentIter::from_syntax_node(owner.syntax())
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:477:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 477
| 1
|
type_inference
| 532,596
|
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
|
) -> Option<impl Iterator<Item = Either<ast::Attr, ast::Comment>>> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:478:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 478
| 1
|
type_inference
| 532,597
|
variable_or_return
|
node
| 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 node = match_ast! {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:495:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 495
| 1
|
type_inference
| 532,598
|
variable_or_return
|
attrs
| 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 attrs = ast::AttrDocCommentIter::from_syntax_node(&node).filter(|el| match el {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:506:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 506
| 1
|
type_inference
| 532,599
|
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
|
) -> Option<(tt::TokenTreesView<'_>, impl Iterator<Item = tt::TokenTreesView<'_>>)> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs:507:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/hir-expand/src/attrs.rs
| 507
| 1
|
type_inference
| 532,600
|
variable_or_return
|
mut parts
| 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 parts = subtree
| null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.