mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
Remove erroneous omit of inherent impls
Should have been included in 34dc94bb2d
This commit is contained in:
parent
d72aec09d2
commit
37cee9fdaa
1 changed files with 0 additions and 9 deletions
|
|
@ -289,15 +289,6 @@ fn def_to_non_local_moniker(
|
|||
definition: Definition,
|
||||
from_crate: Crate,
|
||||
) -> Option<Moniker> {
|
||||
match definition {
|
||||
// Not possible to give sensible unique symbols for inherent impls, as multiple can be
|
||||
// defined for the same type.
|
||||
Definition::SelfType(impl_) if impl_.trait_(db).is_none() => {
|
||||
return None;
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
let module = definition.module(db)?;
|
||||
let krate = module.krate();
|
||||
let edition = krate.edition(db);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue