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/path_transform.rs:221:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 221 | 1 |
type_inference
| 531,101 |
variable_or_return
|
Some(default)
| 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(default) = default.expr() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:230:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 230 | 1 |
type_inference
| 531,102 |
variable_or_return
|
lifetime_substs: FxHashMap<_, _>
| null | 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_substs: FxHashMap<_, _> = self
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:239:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 239 | 1 |
type_inference
| 531,103 |
variable_or_return
|
ctx
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let ctx = Ctx {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:263:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 263 | 1 |
type_inference
| 531,104 |
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 preorder_rev(item: &SyntaxNode) -> impl Iterator<Item = SyntaxNode> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:264:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 264 | 1 |
type_inference
| 531,105 |
variable_or_return
|
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
|
let x = item
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:279:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 279 | 1 |
type_inference
| 531,106 |
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 = preorder_rev(item).filter_map(ast::Path::cast).collect::<Vec<_>>();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:285:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 285 | 1 |
type_inference
| 531,107 |
variable_or_return
|
Some(subst)
| 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(subst) = self.lifetime_substs.get(&lifetime.syntax().text().to_string()) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:296:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 296 | 1 |
type_inference
| 531,108 |
variable_or_return
|
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 value = match param {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:303:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 303 | 1 |
type_inference
| 531,109 |
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 = preorder_rev(value).filter_map(ast::Path::cast).collect::<Vec<_>>();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:310:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 310 | 1 |
type_inference
| 531,110 |
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 transform_path(&self, path: ast::Path) -> Option<()> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:318:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 318 | 1 |
type_inference
| 531,111 |
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
|
// don't try to qualify `Fn(Foo) -> Bar` paths, they are in prelude anyway
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:323:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 323 | 1 |
type_inference
| 531,112 |
variable_or_return
|
resolution
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let resolution = self.source_scope.speculative_resolve(&path)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:327:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 327 | 1 |
type_inference
| 531,113 |
variable_or_return
|
Some(subst)
| 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(subst) = self.type_substs.get(&tp) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:328:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 328 | 1 |
type_inference
| 531,114 |
variable_or_return
|
parent
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let parent = path.syntax().parent()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:329:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 329 | 1 |
type_inference
| 531,115 |
variable_or_return
|
Some(parent)
| 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(parent) = ast::Path::cast(parent.clone()) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:338:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 338 | 1 |
type_inference
| 531,116 |
variable_or_return
|
trait_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 trait_ref = find_trait_for_assoc_item(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:344:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 344 | 1 |
type_inference
| 531,117 |
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 = ImportPathConfig {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:350:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 350 | 1 |
type_inference
| 531,118 |
variable_or_return
|
found_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 found_path = self.target_module.find_path(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:361:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 361 | 1 |
type_inference
| 531,119 |
variable_or_return
|
segment
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let segment = make::path_segment_ty(subst.clone(), trait_ref);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:362:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 362 | 1 |
type_inference
| 531,120 |
variable_or_return
|
qualified
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let qualified = make::path_from_segments(std::iter::once(segment), false);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:364:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 364 | 1 |
type_inference
| 531,121 |
variable_or_return
|
Some(path_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
|
} else if let Some(path_ty) = ast::PathType::cast(parent) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:365:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 365 | 1 |
type_inference
| 531,122 |
variable_or_return
|
old
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let old = path_ty.syntax();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:374:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 374 | 1 |
type_inference
| 531,123 |
variable_or_return
|
new
| null | 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 = subst.clone_subtree().clone_for_update();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:378:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 378 | 1 |
type_inference
| 531,124 |
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 = path_ty.syntax().first_child().map(NodeOrToken::Node)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:379:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 379 | 1 |
type_inference
| 531,125 |
variable_or_return
|
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 end = path_ty.syntax().last_child().map(NodeOrToken::Node)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:394:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 394 | 1 |
type_inference
| 531,126 |
variable_or_return
|
hir::ModuleDef::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
|
if let hir::ModuleDef::Trait(_) = def {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:404:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 404 | 1 |
type_inference
| 531,127 |
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 = ImportPathConfig {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:410:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 410 | 1 |
type_inference
| 531,128 |
variable_or_return
|
found_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 found_path = self.target_module.find_path(self.source_scope.db, def, cfg)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:411:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 411 | 1 |
type_inference
| 531,129 |
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 = mod_path_to_ast(&found_path, self.target_edition).clone_for_update();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:412:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 412 | 1 |
type_inference
| 531,130 |
variable_or_return
|
Some(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
|
if let Some(args) = path.segment().and_then(|it| it.generic_arg_list()) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:413:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 413 | 1 |
type_inference
| 531,131 |
variable_or_return
|
Some(segment)
| 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(segment) = res.segment() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:414:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 414 | 1 |
type_inference
| 531,132 |
variable_or_return
|
old
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let old = segment.get_or_create_generic_arg_list();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:421:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 421 | 1 |
type_inference
| 531,133 |
variable_or_return
|
Some(subst)
| 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(subst) = self.const_substs.get(&cp) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:431:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 431 | 1 |
type_inference
| 531,134 |
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 = imp.self_ty(self.source_scope.db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:432:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 432 | 1 |
type_inference
| 531,135 |
variable_or_return
|
ty_str
| null | 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_str = &ty
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:439:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 439 | 1 |
type_inference
| 531,136 |
variable_or_return
|
ast_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 ast_ty = make::ty(ty_str).clone_for_update();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:441:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 441 | 1 |
type_inference
| 531,137 |
variable_or_return
|
Some(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
|
if let Some(adt) = ty.as_adt() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:442:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 442 | 1 |
type_inference
| 531,138 |
variable_or_return
|
ast::Type::PathType(path_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
|
if let ast::Type::PathType(path_ty) = &ast_ty {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:443:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 443 | 1 |
type_inference
| 531,139 |
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 = ImportPathConfig {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:449:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 449 | 1 |
type_inference
| 531,140 |
variable_or_return
|
found_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 found_path = self.target_module.find_path(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:455:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 455 | 1 |
type_inference
| 531,141 |
variable_or_return
|
Some(qual)
| 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(qual) =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:458:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 458 | 1 |
type_inference
| 531,142 |
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 = make::path_concat(qual, path_ty.path()?).clone_for_update();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:479:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 479 | 1 |
type_inference
| 531,143 |
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 get_syntactic_substs(impl_def: ast::Impl) -> Option<AstSubsts> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:480:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 480 | 1 |
type_inference
| 531,144 |
variable_or_return
|
target_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 target_trait = impl_def.trait_()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:481:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 481 | 1 |
type_inference
| 531,145 |
variable_or_return
|
path_type
| null | 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_type = match target_trait {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:485:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 485 | 1 |
type_inference
| 531,146 |
variable_or_return
|
generic_arg_list
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let generic_arg_list = path_type.path()?.segment()?.generic_arg_list()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:490:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 490 | 1 |
type_inference
| 531,147 |
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 get_type_args_from_arg_list(generic_arg_list: ast::GenericArgList) -> Option<AstSubsts> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:491:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 491 | 1 |
type_inference
| 531,148 |
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 = AstSubsts::default();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:514:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 514 | 1 |
type_inference
| 531,149 |
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<hir::Trait> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:515:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 515 | 1 |
type_inference
| 531,150 |
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 = scope.db;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:516:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 516 | 1 |
type_inference
| 531,151 |
variable_or_return
|
trait_bounds
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let trait_bounds = type_param.trait_bounds(db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:518:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 518 | 1 |
type_inference
| 531,152 |
variable_or_return
|
assoc_item_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 assoc_item_name = assoc_item.text();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs:521:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/path_transform.rs
| 521 | 1 |
type_inference
| 531,153 |
variable_or_return
|
names
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let names = trait_.items(db).into_iter().filter_map(|item| match item {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/use_trivial_constructor.rs:16:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/use_trivial_constructor.rs
| 16 | 1 |
type_inference
| 531,154 |
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<Expr> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/use_trivial_constructor.rs:19:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/use_trivial_constructor.rs
| 19 | 1 |
type_inference
| 531,155 |
variable_or_return
|
&[variant]
| 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 &[variant] = &*x.variants(db) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/use_trivial_constructor.rs:21:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/use_trivial_constructor.rs
| 21 | 1 |
type_inference
| 531,156 |
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 = make::path_qualified(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs:23:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs
| 23 | 1 |
type_inference
| 531,157 |
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 from_ty(sema: &Semantics<'_, RootDatabase>, ty: &hir::Type<'_>) -> Option<TryEnum> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs:24:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs
| 24 | 1 |
type_inference
| 531,158 |
variable_or_return
|
enum_
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let enum_ = match ty.as_adt() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs:36:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs
| 36 | 1 |
type_inference
| 531,159 |
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 happy_case(self) -> &'static str {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs:43:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs
| 43 | 1 |
type_inference
| 531,160 |
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 sad_pattern(self) -> ast::Pat {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs:54:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs
| 54 | 1 |
type_inference
| 531,161 |
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 happy_pattern(self, pat: Pat) -> ast::Pat {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs:65:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs
| 65 | 1 |
type_inference
| 531,162 |
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 happy_pattern_wildcard(self) -> ast::Pat {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs:80:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/ty_filter.rs
| 80 | 1 |
type_inference
| 531,163 |
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 type_name(self) -> &'static str {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:20:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 20 | 1 |
type_inference
| 531,164 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"String"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
pub fn new(s: String) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:24:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 24 | 1 |
type_inference
| 531,165 |
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_str(&self) -> &str {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:30:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 30 | 1 |
type_inference
| 531,166 |
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 from(Documentation(string): Documentation) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:36:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 36 | 1 |
type_inference
| 531,167 |
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 docs(self, db: &dyn HirDatabase) -> Option<Documentation>;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:37:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 37 | 1 |
type_inference
| 531,168 |
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 docs_with_rangemap(self, db: &dyn HirDatabase) -> Option<(Documentation, DocsRangeMap)>;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:44:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 44 | 1 |
type_inference
| 531,169 |
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<hir::DocLinkDef>;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:58:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 58 | 1 |
type_inference
| 531,170 |
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 map(&self, range: TextRange) -> Option<(InFile<TextRange>, AttrId)> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:59:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 59 | 1 |
type_inference
| 531,171 |
variable_or_return
|
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 found = self.mapping.binary_search_by(|(probe, ..)| probe.ordering(range)).ok()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:60:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 60 | 1 |
type_inference
| 531,172 |
variable_or_return
|
(line_docs_range, idx, original_line_src_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 (line_docs_range, idx, original_line_src_range) = self.mapping[found];
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:65:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 65 | 1 |
type_inference
| 531,173 |
variable_or_return
|
relative_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 relative_range = range - line_docs_range.start();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:67:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 67 | 1 |
type_inference
| 531,174 |
variable_or_return
|
InFile { file_id, value: 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: source } = self.source_map.source_of_id(idx);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:70:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 70 | 1 |
type_inference
| 531,175 |
variable_or_return
|
string
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let string = get_doc_string_in_attr(attr)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:71:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 71 | 1 |
type_inference
| 531,176 |
variable_or_return
|
text_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 text_range = string.open_quote_text_range()?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:72:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 72 | 1 |
type_inference
| 531,177 |
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 = TextRange::at(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:79:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 79 | 1 |
type_inference
| 531,178 |
variable_or_return
|
text_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 text_range = comment.syntax().text_range();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:80:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 80 | 1 |
type_inference
| 531,179 |
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 = TextRange::at(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:92:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 92 | 1 |
type_inference
| 531,180 |
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 shift_docstring_line_range(self, offset: TextSize) -> DocsRangeMap {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:93:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 93 | 1 |
type_inference
| 531,181 |
variable_or_return
|
mapping
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mapping = self
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:97:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 97 | 1 |
type_inference
| 531,182 |
variable_or_return
|
buf_offset
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let buf_offset = buf_offset.checked_add(offset).unwrap();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:108:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 108 | 1 |
type_inference
| 531,183 |
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<(Documentation, DocsRangeMap)> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:109:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 109 | 1 |
type_inference
| 531,184 |
variable_or_return
|
docs
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let docs = attrs
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:113:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 113 | 1 |
type_inference
| 531,185 |
variable_or_return
|
indent
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let indent = doc_indent(attrs);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:114:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 114 | 1 |
type_inference
| 531,186 |
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/ide-db/src/documentation.rs:115:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 115 | 1 |
type_inference
| 531,187 |
variable_or_return
|
mut mapping
| null | 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 mapping = Vec::new();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:118:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 118 | 1 |
type_inference
| 531,188 |
variable_or_return
|
mut base_offset
| null | 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 base_offset = 0;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:120:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 120 | 1 |
type_inference
| 531,189 |
variable_or_return
|
line
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let line = raw_line.trim_end();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:121:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 121 | 1 |
type_inference
| 531,190 |
variable_or_return
|
line_len
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let line_len = line.len();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:122:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 122 | 1 |
type_inference
| 531,191 |
variable_or_return
|
(offset, line)
| null | 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, line) = match line.char_indices().nth(indent) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:126:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 126 | 1 |
type_inference
| 531,192 |
variable_or_return
|
buf_offset
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let buf_offset = buf.len();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:151:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 151 | 1 |
type_inference
| 531,193 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"String"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
pub fn docs_from_attrs(attrs: &hir::Attrs) -> Option<String> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:152:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 152 | 1 |
type_inference
| 531,194 |
variable_or_return
|
docs
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let docs = attrs.by_key(sym::doc).attrs().filter_map(|attr| attr.string_value_unescape());
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:153:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 153 | 1 |
type_inference
| 531,195 |
variable_or_return
|
indent
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let indent = doc_indent(attrs);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:154:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 154 | 1 |
type_inference
| 531,196 |
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/ide-db/src/documentation.rs:160:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 160 | 1 |
type_inference
| 531,197 |
variable_or_return
|
lines
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let lines = doc.lines().map(|line| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:175:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 175 | 1 |
type_inference
| 531,198 |
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 docs(self, db: &dyn HirDatabase) -> Option<Documentation> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:181:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 181 | 1 |
type_inference
| 531,199 |
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<(Documentation, DocsRangeMap)> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs:190:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-db/src/documentation.rs
| 190 | 1 |
type_inference
| 531,200 |
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<hir::DocLinkDef> {
| null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.