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:1334:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 1,334 | 1 |
type_inference
| 530,401 |
variable_or_return
|
mut result
| 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 result = ReferenceCategory::empty();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:1347:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 1,347 | 1 |
type_inference
| 530,402 |
variable_or_return
|
mode
| 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 mode = r.syntax().ancestors().find_map(|node| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:1354:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 1,354 | 1 |
type_inference
| 530,403 |
variable_or_return
|
Some(lhs)
| 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(lhs) = expr.lhs() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:1371:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 1,371 | 1 |
type_inference
| 530,404 |
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 is_name_ref_in_import(name_ref: &ast::NameRef) -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs:1380:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/search.rs
| 1,380 | 1 |
type_inference
| 530,405 |
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 is_name_ref_in_test(sema: &Semantics<'_, RootDatabase>, name_ref: &ast::NameRef) -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:19:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 19 | 1 |
type_inference
| 530,406 |
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 item_name(db: &RootDatabase, item: ItemInNs) -> Option<Name> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:30:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 30 | 1 |
type_inference
| 530,407 |
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
|
f: impl Fn(SyntaxKind) -> usize,
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:31:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 31 | 1 |
type_inference
| 530,408 |
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<SyntaxToken> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:34:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 34 | 1 |
type_inference
| 530,409 |
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 pick_token<T: AstToken>(mut tokens: TokenAtOffset<SyntaxToken>) -> Option<T> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:39:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 39 | 1 |
type_inference
| 530,410 |
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 mod_path_to_ast(path: &hir::ModPath, edition: Edition) -> ast::Path {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:40:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 40 | 1 |
type_inference
| 530,411 |
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!("mod_path_to_ast").entered();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:42:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 42 | 1 |
type_inference
| 530,412 |
variable_or_return
|
mut segments
| 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 segments = Vec::new();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:43:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 43 | 1 |
type_inference
| 530,413 |
variable_or_return
|
mut is_abs
| 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_abs = false;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:66:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 66 | 1 |
type_inference
| 530,414 |
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/helpers.rs:67:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 67 | 1 |
type_inference
| 530,415 |
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 sema.file_to_module_def(file_id) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:71:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 71 | 1 |
type_inference
| 530,416 |
variable_or_return
|
mut defs: VecDeque<_>
| 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 defs: VecDeque<_> = module.declarations(db).into();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:72:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 72 | 1 |
type_inference
| 530,417 |
variable_or_return
|
Some(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
|
while let Some(def) = defs.pop_front() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:73:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 73 | 1 |
type_inference
| 530,418 |
variable_or_return
|
ModuleDef::Module(submodule)
| 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 ModuleDef::Module(submodule) = def {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:83:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 83 | 1 |
type_inference
| 530,419 |
variable_or_return
|
is_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 is_root = module.is_crate_root();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:93:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 93 | 1 |
type_inference
| 530,420 |
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 lint_eq_or_in_group(lint: &str, lint_is: &str) -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:98:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 98 | 1 |
type_inference
| 530,421 |
variable_or_return
|
Some(group)
| 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(group) = generated::lints::DEFAULT_LINT_GROUPS
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:110:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 110 | 1 |
type_inference
| 530,422 |
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_editable_crate(krate: Crate, db: &RootDatabase) -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:111:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 111 | 1 |
type_inference
| 530,423 |
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 = krate.root_file(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:112:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 112 | 1 |
type_inference
| 530,424 |
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/helpers.rs:120:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 120 | 1 |
type_inference
| 530,425 |
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<Definition> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:122:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 122 | 1 |
type_inference
| 530,426 |
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 = IdentClass::classify_token(sema, &token).map(IdentClass::definitions_no_ops);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs:123:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/helpers.rs
| 123 | 1 |
type_inference
| 530,427 |
variable_or_return
|
Some(&[x])
| 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(&[x]) = def.as_deref() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:54:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 54 | 1 |
type_inference
| 530,428 |
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/ide-db/src/rename.rs:84:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 84 | 1 |
type_inference
| 530,429 |
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
|
) -> Result<SourceChange> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:89:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 89 | 1 |
type_inference
| 530,430 |
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 = if let Some(krate) = self.krate(sema.db) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:123:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 123 | 1 |
type_inference
| 530,431 |
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 range_for_rename(self, sema: &Semantics<'_, RootDatabase>) -> Option<FileRange> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:124:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 124 | 1 |
type_inference
| 530,432 |
variable_or_return
|
syn_ctx_is_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 syn_ctx_is_root = |(range, ctx): (_, SyntaxContext)| ctx.is_root().then_some(range);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:125:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 125 | 1 |
type_inference
| 530,433 |
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 = match self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:127:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 127 | 1 |
type_inference
| 530,434 |
variable_or_return
|
src
| 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 src = sema.source(mac)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:128:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 128 | 1 |
type_inference
| 530,435 |
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 = match &src.value {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:137:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 137 | 1 |
type_inference
| 530,436 |
variable_or_return
|
src
| 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 src = sema.source(field)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:140:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 140 | 1 |
type_inference
| 530,437 |
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 = record_field.name()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:150:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 150 | 1 |
type_inference
| 530,438 |
variable_or_return
|
src
| 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 src = module.declaration_source(sema.db)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:151:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 151 | 1 |
type_inference
| 530,439 |
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 = src.value.name()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:173:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 173 | 1 |
type_inference
| 530,440 |
variable_or_return
|
src
| 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 src = sema.source(lifetime_param)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:179:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 179 | 1 |
type_inference
| 530,441 |
variable_or_return
|
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
|
let param = match generic_param {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:184:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 184 | 1 |
type_inference
| 530,442 |
variable_or_return
|
src
| 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 src = sema.source(param)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:185:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 185 | 1 |
type_inference
| 530,443 |
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 = match &src.value {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:195:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 195 | 1 |
type_inference
| 530,444 |
variable_or_return
|
src
| 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 src = sema.source(label)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:196:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 196 | 1 |
type_inference
| 530,445 |
variable_or_return
|
lifetime
| 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 lifetime = src.value.lifetime()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:202:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 202 | 1 |
type_inference
| 530,446 |
variable_or_return
|
src
| 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 src = sema.source(it)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:203:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 203 | 1 |
type_inference
| 530,447 |
variable_or_return
|
Some(rename)
| 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(rename) = src.value.rename() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:204:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 204 | 1 |
type_inference
| 530,448 |
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 = rename.name()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:209:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 209 | 1 |
type_inference
| 530,449 |
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 = src.value.name_ref()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:231:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 231 | 1 |
type_inference
| 530,450 |
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<(FileRange, SyntaxContext)>
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:236:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 236 | 1 |
type_inference
| 530,451 |
variable_or_return
|
src
| 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 src = sema.source(def)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:237:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 237 | 1 |
type_inference
| 530,452 |
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 = src.value.name()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:247:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 247 | 1 |
type_inference
| 530,453 |
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
|
) -> Result<SourceChange> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:248:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 248 | 1 |
type_inference
| 530,454 |
variable_or_return
|
mut source_change
| 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 source_change = SourceChange::default();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:254:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 254 | 1 |
type_inference
| 530,455 |
variable_or_return
|
InFile { file_id, value: def_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: def_source } = module.definition_source(sema.db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:255:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 255 | 1 |
type_inference
| 530,456 |
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 = file_id.edition(sema.db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:256:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 256 | 1 |
type_inference
| 530,457 |
variable_or_return
|
(new_name, 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 (new_name, kind) = IdentifierKind::classify(edition, new_name)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:263:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 263 | 1 |
type_inference
| 530,458 |
variable_or_return
|
ModuleSource::SourceFile(..)
| 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 ModuleSource::SourceFile(..) = def_source {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:264:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 264 | 1 |
type_inference
| 530,459 |
variable_or_return
|
anchor
| 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 anchor = file_id.original_file(sema.db).file_id(sema.db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:266:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 266 | 1 |
type_inference
| 530,460 |
variable_or_return
|
is_mod_rs
| 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_mod_rs = module.is_mod_rs(sema.db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:267:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 267 | 1 |
type_inference
| 530,461 |
variable_or_return
|
has_detached_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
|
let has_detached_child = module.children(sema.db).any(|child| !child.is_inline(sema.db));
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:271:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 271 | 1 |
type_inference
| 530,462 |
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 = format!("{}.rs", new_name.as_str());
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:272:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 272 | 1 |
type_inference
| 530,463 |
variable_or_return
|
dst
| 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 dst = AnchoredPathBuf { anchor, path };
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:279:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 279 | 1 |
type_inference
| 530,464 |
variable_or_return
|
dir_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 dir_paths = match (is_mod_rs, has_detached_child, module.name(sema.db)) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:291:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 291 | 1 |
type_inference
| 530,465 |
variable_or_return
|
Some((src, dst))
| 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((src, dst)) = dir_paths {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:292:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 292 | 1 |
type_inference
| 530,466 |
variable_or_return
|
src
| 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 src = AnchoredPathBuf { anchor, path: src };
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:293:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 293 | 1 |
type_inference
| 530,467 |
variable_or_return
|
dst
| 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 dst = AnchoredPathBuf { anchor, path: dst };
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:302:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 302 | 1 |
type_inference
| 530,468 |
variable_or_return
|
Some(src)
| 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(src) = module.declaration_source(sema.db) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:303:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 303 | 1 |
type_inference
| 530,469 |
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 = src.file_id.original_file(sema.db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:306:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 306 | 1 |
type_inference
| 530,470 |
variable_or_return
|
Some(file_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
|
if let Some(file_range) = src
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:311:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 311 | 1 |
type_inference
| 530,471 |
variable_or_return
|
new_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 new_name = new_name.display(sema.db, edition).to_string();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:322:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 322 | 1 |
type_inference
| 530,472 |
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 = Definition::Module(module);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:323:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 323 | 1 |
type_inference
| 530,473 |
variable_or_return
|
usages
| 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 usages = def.usages(sema).all();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:324:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 324 | 1 |
type_inference
| 530,474 |
variable_or_return
|
ref_edits
| 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 ref_edits = usages.iter().map(|(file_id, references)| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:325:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 325 | 1 |
type_inference
| 530,475 |
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 = file_id.edition(sema.db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:342:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 342 | 1 |
type_inference
| 530,476 |
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
|
) -> Result<SourceChange> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:343:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 343 | 1 |
type_inference
| 530,477 |
variable_or_return
|
(mut new_name, ident_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 (mut new_name, ident_kind) = IdentifierKind::classify(edition, new_name)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:382:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 382 | 1 |
type_inference
| 530,478 |
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 = convert_to_def_in_trait(sema.db, def);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:383:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 383 | 1 |
type_inference
| 530,479 |
variable_or_return
|
usages
| 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 usages = def.usages(sema).all();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:389:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 389 | 1 |
type_inference
| 530,480 |
variable_or_return
|
mut source_change
| 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 source_change = SourceChange::default();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:391:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 391 | 1 |
type_inference
| 530,481 |
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 = file_id.edition(sema.db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:400:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 400 | 1 |
type_inference
| 530,482 |
variable_or_return
|
(file_id, edit)
| 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, edit) = source_edit_from_def(sema, def, &new_name, &mut source_change)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:412:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 412 | 1 |
type_inference
| 530,483 |
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
|
) -> TextEdit {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:413:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 413 | 1 |
type_inference
| 530,484 |
variable_or_return
|
name_display
| 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_display = new_name.display(db, edition);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:414:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 414 | 1 |
type_inference
| 530,485 |
variable_or_return
|
mut edit
| 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 edit = TextEdit::builder();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:416:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 416 | 1 |
type_inference
| 530,486 |
variable_or_return
|
mut edited_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 mut edited_ranges = Vec::new();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:418:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 418 | 1 |
type_inference
| 530,487 |
variable_or_return
|
name_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 name_range = name.text_range();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:419:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 419 | 1 |
type_inference
| 530,488 |
variable_or_return
|
has_emitted_edit
| 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_emitted_edit = match name {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:444:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 444 | 1 |
type_inference
| 530,489 |
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/rename.rs:446:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 446 | 1 |
type_inference
| 530,490 |
variable_or_return
|
Some(ident_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
|
if let Some(ident_pat) = name.syntax().parent().and_then(ast::IdentPat::cast) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:448:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 448 | 1 |
type_inference
| 530,491 |
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
|
// Foo { ref mut field } -> Foo { new_name: ref mut field }
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:466:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 466 | 1 |
type_inference
| 530,492 |
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/rename.rs:471:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 471 | 1 |
type_inference
| 530,493 |
variable_or_return
|
Some(record_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
|
if let Some(record_field) = ast::RecordExprField::for_name_ref(name_ref) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:472:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 472 | 1 |
type_inference
| 530,494 |
variable_or_return
|
rcf_name_ref
| 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 rcf_name_ref = record_field.name_ref();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:473:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 473 | 1 |
type_inference
| 530,495 |
variable_or_return
|
rcf_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 rcf_expr = record_field.expr();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:477:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 477 | 1 |
type_inference
| 530,496 |
variable_or_return
|
new_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 new_name = new_name.to_string();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:481:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 481 | 1 |
type_inference
| 530,497 |
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
|
// Foo { field: local } -> Foo { local }
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:486:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 486 | 1 |
type_inference
| 530,498 |
variable_or_return
|
s
| 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 s = field_name.syntax().text_range().start();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:487:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 487 | 1 |
type_inference
| 530,499 |
variable_or_return
|
e
| 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 e = init.syntax().text_range().start();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs:493:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/rename.rs
| 493 | 1 |
type_inference
| 530,500 |
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
|
// Foo { field: local } -> Foo { field }
| null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.