mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
internal: remove one more needless extern crate
This commit is contained in:
parent
dbf11b16da
commit
bbb053532e
12 changed files with 22 additions and 28 deletions
|
@ -46,7 +46,6 @@ pub(super) fn element(
|
|||
};
|
||||
|
||||
match name_kind {
|
||||
Some(NameClass::ExternCrate(_)) => SymbolKind::Module.into(),
|
||||
Some(NameClass::Definition(def)) => {
|
||||
let mut h = highlight_def(db, krate, def) | HlMod::Definition;
|
||||
if let Definition::ModuleDef(hir::ModuleDef::Trait(trait_)) = &def {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue