aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_db')
-rw-r--r--crates/ide_db/src/search.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ide_db/src/search.rs b/crates/ide_db/src/search.rs
index d8abef491..67840602b 100644
--- a/crates/ide_db/src/search.rs
+++ b/crates/ide_db/src/search.rs
@@ -548,7 +548,6 @@ fn def_to_ty(sema: &Semantics<RootDatabase>, def: &Definition) -> Option<hir::Ty
548 let module = sema.to_module_def(root_file)?; 548 let module = sema.to_module_def(root_file)?;
549 Some(it.ty(sema.db, module)) 549 Some(it.ty(sema.db, module))
550 } 550 }
551 ModuleDef::Trait(_it) => None, // FIXME turn trait into its self-type
552 _ => None, 551 _ => None,
553 }, 552 },
554 Definition::SelfType(it) => Some(it.self_ty(sema.db)), 553 Definition::SelfType(it) => Some(it.self_ty(sema.db)),