We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d434dd commit 96fc18aCopy full SHA for 96fc18a
src/tools/rust-analyzer/crates/ide/src/moniker.rs
@@ -289,15 +289,6 @@ fn def_to_non_local_moniker(
289
definition: Definition,
290
from_crate: Crate,
291
) -> 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
-
301
let module = definition.module(db)?;
302
let krate = module.krate();
303
let edition = krate.edition(db);
0 commit comments