Skip to content

Commit 96fc18a

Browse files
committed
Remove erroneous omit of inherent impls
Should have been included in 34dc94bb2d05def8b88739a9382b127feb1a35a0
1 parent 2d434dd commit 96fc18a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/tools/rust-analyzer/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)