Skip to content

Commit 37cee9f

Browse files
committed
Remove erroneous omit of inherent impls
Should have been included in 34dc94b
1 parent d72aec0 commit 37cee9f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

crates/ide/src/moniker.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -289,15 +289,6 @@ fn def_to_non_local_moniker(
289289
definition: Definition,
290290
from_crate: Crate,
291291
) -> Option<Moniker> {
292-
match definition {
293-
// Not possible to give sensible unique symbols for inherent impls, as multiple can be
294-
// defined for the same type.
295-
Definition::SelfType(impl_) if impl_.trait_(db).is_none() => {
296-
return None;
297-
}
298-
_ => {}
299-
}
300-
301292
let module = definition.module(db)?;
302293
let krate = module.krate();
303294
let edition = krate.edition(db);

0 commit comments

Comments
 (0)