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/ide-db/src/search.rs:94:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 94 | 1 |
type_inference
| 530,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
|
pub fn syntax(&self) -> SyntaxElement {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:102:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 102 | 1 |
type_inference
| 530,202 |
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 into_name_like(self) -> Option<ast::NameLike> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:110:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 110 | 1 |
type_inference
| 530,203 |
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 as_name_ref(&self) -> Option<&ast::NameRef> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:116:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 116 | 1 |
type_inference
| 530,204 |
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 as_lifetime(&self) -> Option<&ast::Lifetime> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:122:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 122 | 1 |
type_inference
| 530,205 |
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 text(&self) -> syntax::TokenText<'_> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:156:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 156 | 1 |
type_inference
| 530,206 |
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 new(entries: FxHashMap<EditionedFileId, Option<TextRange>>) -> SearchScope {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:161:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 161 | 1 |
type_inference
| 530,207 |
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 crate_graph(db: &RootDatabase) -> SearchScope {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:162:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 162 | 1 |
type_inference
| 530,208 |
variable_or_return
|
mut 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 mut entries = FxHashMap::default();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:164:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 164 | 1 |
type_inference
| 530,209 |
variable_or_return
|
all_crates
| 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 all_crates = db.all_crates();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:166:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 166 | 1 |
type_inference
| 530,210 |
variable_or_return
|
crate_data
| 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 crate_data = krate.data(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:167:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 167 | 1 |
type_inference
| 530,211 |
variable_or_return
|
source_root
| 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 source_root = db.file_source_root(crate_data.root_file_id).source_root_id(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:168:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 168 | 1 |
type_inference
| 530,212 |
variable_or_return
|
source_root
| 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 source_root = db.source_root(source_root).source_root(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:179:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 179 | 1 |
type_inference
| 530,213 |
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 reverse_dependencies(db: &RootDatabase, of: hir::Crate) -> SearchScope {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:180:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 180 | 1 |
type_inference
| 530,214 |
variable_or_return
|
mut 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 mut entries = FxHashMap::default();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:182:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 182 | 1 |
type_inference
| 530,215 |
variable_or_return
|
root_file
| 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 root_file = rev_dep.root_file(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:184:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 184 | 1 |
type_inference
| 530,216 |
variable_or_return
|
source_root
| 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 source_root = db.file_source_root(root_file).source_root_id(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:185:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 185 | 1 |
type_inference
| 530,217 |
variable_or_return
|
source_root
| 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 source_root = db.source_root(source_root).source_root(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:196:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 196 | 1 |
type_inference
| 530,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 krate(db: &RootDatabase, of: hir::Crate) -> SearchScope {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:197:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 197 | 1 |
type_inference
| 530,219 |
variable_or_return
|
root_file
| 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 root_file = of.root_file(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:199:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 199 | 1 |
type_inference
| 530,220 |
variable_or_return
|
source_root_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 source_root_id = db.file_source_root(root_file).source_root_id(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:200:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 200 | 1 |
type_inference
| 530,221 |
variable_or_return
|
source_root
| 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 source_root = db.source_root(source_root_id).source_root(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:210:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 210 | 1 |
type_inference
| 530,222 |
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 module_and_children(db: &RootDatabase, module: hir::Module) -> SearchScope {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:211:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 211 | 1 |
type_inference
| 530,223 |
variable_or_return
|
mut 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 mut entries = FxHashMap::default();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:213:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 213 | 1 |
type_inference
| 530,224 |
variable_or_return
|
(file_id, 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 (file_id, range) = {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:214:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 214 | 1 |
type_inference
| 530,225 |
variable_or_return
|
InFile { file_id, value }
| 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 InFile { file_id, value } = module.definition_source_range(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:215:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 215 | 1 |
type_inference
| 530,226 |
variable_or_return
|
Some(InRealFile { file_id, value: call_source })
| 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(InRealFile { file_id, value: call_source }) = file_id.original_call_node(db)
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:224:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 224 | 1 |
type_inference
| 530,227 |
variable_or_return
|
mut to_visit: 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 mut to_visit: Vec<_> = module.children(db).collect();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:225:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 225 | 1 |
type_inference
| 530,228 |
variable_or_return
|
Some(module)
| 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(module) = to_visit.pop() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:226:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 226 | 1 |
type_inference
| 530,229 |
variable_or_return
|
Some(file_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
|
if let Some(file_id) = module.as_source_file_id(db) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:235:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 235 | 1 |
type_inference
| 530,230 |
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 empty() -> SearchScope {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:240:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 240 | 1 |
type_inference
| 530,231 |
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_file(file: EditionedFileId) -> SearchScope {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:245:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 245 | 1 |
type_inference
| 530,232 |
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 file_range(range: FileRange) -> SearchScope {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:250:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 250 | 1 |
type_inference
| 530,233 |
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 files(files: &[EditionedFileId]) -> SearchScope {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:254:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 254 | 1 |
type_inference
| 530,234 |
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 intersection(&self, other: &SearchScope) -> SearchScope {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:255:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 255 | 1 |
type_inference
| 530,235 |
variable_or_return
|
(mut small, mut large)
| 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 small, mut large) = (&self.entries, &other.entries);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:260:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 260 | 1 |
type_inference
| 530,236 |
variable_or_return
|
intersect_ranges
| 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 intersect_ranges =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:261:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 261 | 1 |
type_inference
| 530,237 |
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
|
|r1: Option<TextRange>, r2: Option<TextRange>| -> Option<Option<TextRange>> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:267:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 267 | 1 |
type_inference
| 530,238 |
variable_or_return
|
res
| 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 res = small
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:270:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 270 | 1 |
type_inference
| 530,239 |
variable_or_return
|
&r2
| 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 &r2 = large.get(&file_id)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:271:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 271 | 1 |
type_inference
| 530,240 |
variable_or_return
|
r
| 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 r = intersect_ranges(r1, r2)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:284:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 284 | 1 |
type_inference
| 530,241 |
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 into_iter(self) -> Self::IntoIter {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:290:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 290 | 1 |
type_inference
| 530,242 |
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 search_scope(&self, db: &RootDatabase) -> SearchScope {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:291:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 291 | 1 |
type_inference
| 530,243 |
variable_or_return
|
_p
| 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 _p = tracing::info_span!("search_scope").entered();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:293:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 293 | 1 |
type_inference
| 530,244 |
variable_or_return
|
Definition::BuiltinType(_)
| 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 Definition::BuiltinType(_) = self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:298:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 298 | 1 |
type_inference
| 530,245 |
variable_or_return
|
&Definition::Module(module)
| 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 &Definition::Module(module) = self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:304:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 304 | 1 |
type_inference
| 530,246 |
variable_or_return
|
module
| 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 module = match self.module(db) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:308:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 308 | 1 |
type_inference
| 530,247 |
variable_or_return
|
InFile { file_id, value: module_source }
| 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 InFile { file_id, value: module_source } = module.definition_source(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:309:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 309 | 1 |
type_inference
| 530,248 |
variable_or_return
|
file_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 file_id = file_id.original_file(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:311:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 311 | 1 |
type_inference
| 530,249 |
variable_or_return
|
Definition::Local(var)
| 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 Definition::Local(var) = self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:312:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 312 | 1 |
type_inference
| 530,250 |
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 var.parent(db) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:326:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 326 | 1 |
type_inference
| 530,251 |
variable_or_return
|
Definition::InlineAsmOperand(op)
| 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 Definition::InlineAsmOperand(op) = self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:327:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 327 | 1 |
type_inference
| 530,252 |
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 op.parent(db) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:341:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 341 | 1 |
type_inference
| 530,253 |
variable_or_return
|
Definition::SelfType(impl_)
| 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 Definition::SelfType(impl_) = self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:350:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 350 | 1 |
type_inference
| 530,254 |
variable_or_return
|
Definition::GenericParam(hir::GenericParam::LifetimeParam(param))
| 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 Definition::GenericParam(hir::GenericParam::LifetimeParam(param)) = self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:351:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 351 | 1 |
type_inference
| 530,255 |
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 param.parent(db) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:369:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 369 | 1 |
type_inference
| 530,256 |
variable_or_return
|
Definition::Macro(macro_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
|
if let Definition::Macro(macro_def) = self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:387:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 387 | 1 |
type_inference
| 530,257 |
variable_or_return
|
Definition::DeriveHelper(_)
| 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 Definition::DeriveHelper(_) = self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:391:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 391 | 1 |
type_inference
| 530,258 |
variable_or_return
|
vis
| 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 vis = self.visibility(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:392:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 392 | 1 |
type_inference
| 530,259 |
variable_or_return
|
Some(Visibility::Public)
| 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(Visibility::Public) = vis {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:395:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 395 | 1 |
type_inference
| 530,260 |
variable_or_return
|
Some(Visibility::Module(module, _))
| 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(Visibility::Module(module, _)) = vis {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:399:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 399 | 1 |
type_inference
| 530,261 |
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 = match module_source {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:410:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 410 | 1 |
type_inference
| 530,262 |
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 usages<'a>(self, sema: &'a Semantics<'_, RootDatabase>) -> FindUsages<'a> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:439:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 439 | 1 |
type_inference
| 530,263 |
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 include_self_refs(mut self) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:446:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 446 | 1 |
type_inference
| 530,264 |
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 in_scope(self, scope: &'a SearchScope) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:451:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 451 | 1 |
type_inference
| 530,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
|
pub fn set_scope(mut self, scope: Option<&'a SearchScope>) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:460:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 460 | 1 |
type_inference
| 530,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
|
pub fn with_rename(mut self, rename: Option<&'a Rename>) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:465:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 465 | 1 |
type_inference
| 530,267 |
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 at_least_one(&self) -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:466:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 466 | 1 |
type_inference
| 530,268 |
variable_or_return
|
mut found
| 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 found = false;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:474:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 474 | 1 |
type_inference
| 530,269 |
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 all(self) -> UsageSearchResult {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:475:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 475 | 1 |
type_inference
| 530,270 |
variable_or_return
|
mut res
| 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 res = UsageSearchResult::default();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:486:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 486 | 1 |
type_inference
| 530,271 |
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 = (Arc<str>, EditionedFileId, TextRange)> + 'b {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:488:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 488 | 1 |
type_inference
| 530,272 |
variable_or_return
|
text
| 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 = db.file_text(file_id.file_id(db)).text(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:489:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 489 | 1 |
type_inference
| 530,273 |
variable_or_return
|
search_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 search_range =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:500:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 500 | 1 |
type_inference
| 530,274 |
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 = TextSize> + 'b {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:502:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 502 | 1 |
type_inference
| 530,275 |
variable_or_return
|
offset: TextSize
| 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 offset: TextSize = idx.try_into().unwrap();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:530:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 530 | 1 |
type_inference
| 530,276 |
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 = SyntaxNode> + 'b {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:565:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 565 | 1 |
type_inference
| 530,277 |
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
|
sink: &mut dyn FnMut(EditionedFileId, FileReference) -> bool,
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:568:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 568 | 1 |
type_inference
| 530,278 |
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
|
) -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:573:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 573 | 1 |
type_inference
| 530,279 |
variable_or_return
|
_p
| 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 _p = tracing::info_span!("short_associated_function_fast_search").entered();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:575:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 575 | 1 |
type_inference
| 530,280 |
variable_or_return
|
container
| 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 container = (|| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:576:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 576 | 1 |
type_inference
| 530,281 |
variable_or_return
|
Definition::Function(function)
| 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 Definition::Function(function) = self.def else {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:586:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 586 | 1 |
type_inference
| 530,282 |
variable_or_return
|
has_trait
| 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_trait = impl_.trait_(self.sema.db).is_some();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:590:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 590 | 1 |
type_inference
| 530,283 |
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 = impl_.self_ty(self.sema.db).as_adt()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:596:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 596 | 1 |
type_inference
| 530,284 |
variable_or_return
|
Some(container)
| 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(container) = container else {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:600:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 600 | 1 |
type_inference
| 530,285 |
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 has_any_name(node: &SyntaxNode, mut predicate: impl FnMut(&str) -> bool) -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:619:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 619 | 1 |
type_inference
| 530,286 |
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<(FxHashSet<SmolStr>, Vec<FileRangeWrapper<EditionedFileId>>)> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:626:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 626 | 1 |
type_inference
| 530,287 |
variable_or_return
|
alias
| 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 alias = alias_name.trim_start_matches("r#").to_smolstr();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:631:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 631 | 1 |
type_inference
| 530,288 |
variable_or_return
|
_p
| 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 _p = tracing::info_span!("collect_possible_aliases").entered();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:633:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 633 | 1 |
type_inference
| 530,289 |
variable_or_return
|
db
| 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 db = sema.db;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:634:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 634 | 1 |
type_inference
| 530,290 |
variable_or_return
|
container_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 container_name = container.name(db).as_str().to_smolstr();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:635:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 635 | 1 |
type_inference
| 530,291 |
variable_or_return
|
search_scope
| 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 search_scope = Definition::from(container).search_scope(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:636:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 636 | 1 |
type_inference
| 530,292 |
variable_or_return
|
mut seen
| 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 seen = FxHashSet::default();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:637:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 637 | 1 |
type_inference
| 530,293 |
variable_or_return
|
mut completed
| 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 completed = FxHashSet::default();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:638:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 638 | 1 |
type_inference
| 530,294 |
variable_or_return
|
mut to_process
| 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 to_process = vec![(container_name, search_scope)];
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:639:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 639 | 1 |
type_inference
| 530,295 |
variable_or_return
|
mut is_possibly_self
| 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 is_possibly_self = Vec::new();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:640:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 640 | 1 |
type_inference
| 530,296 |
variable_or_return
|
mut total_files_searched
| 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 total_files_searched = 0;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:642:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 642 | 1 |
type_inference
| 530,297 |
variable_or_return
|
Some((current_to_process, current_to_process_search_scope))
| 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((current_to_process, current_to_process_search_scope)) = to_process.pop()
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:644:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 644 | 1 |
type_inference
| 530,298 |
variable_or_return
|
is_alias
| 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_alias = |alias: &ast::TypeAlias| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:645:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 645 | 1 |
type_inference
| 530,299 |
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 = sema.to_def(alias)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:646:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 646 | 1 |
type_inference
| 530,300 |
variable_or_return
|
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 ty = def.ty(db);
| null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.