mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Move NameRef classification logic out of reference_definition
This commit is contained in:
parent
a25e103e45
commit
444e52e519
5 changed files with 144 additions and 97 deletions
|
@ -18,6 +18,7 @@ mod change;
|
|||
mod status;
|
||||
mod completion;
|
||||
mod runnables;
|
||||
mod name_ref_kind;
|
||||
mod goto_definition;
|
||||
mod goto_type_definition;
|
||||
mod extend_selection;
|
||||
|
@ -53,10 +54,7 @@ use ra_db::{
|
|||
};
|
||||
use relative_path::RelativePathBuf;
|
||||
|
||||
use crate::{
|
||||
symbol_index::FileSymbol,
|
||||
db::LineIndexDatabase,
|
||||
};
|
||||
use crate::{symbol_index::FileSymbol, db::LineIndexDatabase};
|
||||
|
||||
pub use crate::{
|
||||
change::{AnalysisChange, LibraryData},
|
||||
|
@ -73,10 +71,7 @@ pub use crate::{
|
|||
display::{FunctionSignature, NavigationTarget, StructureNode, file_structure},
|
||||
};
|
||||
|
||||
pub use ra_db::{
|
||||
Canceled, CrateGraph, CrateId, FileId, FilePosition, FileRange, SourceRootId,
|
||||
Edition
|
||||
};
|
||||
pub use ra_db::{Canceled, CrateGraph, CrateId, FileId, FilePosition, FileRange, SourceRootId, Edition};
|
||||
pub use hir::Documentation;
|
||||
|
||||
// We use jemalloc mainly to get heap usage statistics, actual performance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue