mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-09 10:55:42 +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
|
|
@ -28,7 +28,7 @@ pub(crate) fn goto_declaration(
|
|||
name_kind.referenced()
|
||||
},
|
||||
ast::Name(name) => {
|
||||
NameClass::classify(&sema, &name)?.referenced_or_defined(sema.db)
|
||||
NameClass::classify(&sema, &name)?.referenced_or_defined()
|
||||
},
|
||||
_ => return None,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue