mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Move reference classification to ra_ide_db
Lost some marks along the way :-(
This commit is contained in:
parent
34d6e22fc1
commit
177229bfde
5 changed files with 77 additions and 104 deletions
|
@ -9,7 +9,6 @@
|
|||
//! at the index that the match starts at and its tree parent is
|
||||
//! resolved to the search element definition, we get a reference.
|
||||
|
||||
mod classify;
|
||||
mod rename;
|
||||
mod search_scope;
|
||||
|
||||
|
@ -27,11 +26,8 @@ use test_utils::tested_by;
|
|||
|
||||
use crate::{display::TryToNav, FilePosition, FileRange, NavigationTarget, RangeInfo};
|
||||
|
||||
pub(crate) use self::{
|
||||
classify::{classify_name_ref, NameRefClass},
|
||||
rename::rename,
|
||||
};
|
||||
pub(crate) use ra_ide_db::defs::{classify_name, Definition};
|
||||
pub(crate) use self::rename::rename;
|
||||
pub(crate) use ra_ide_db::defs::{classify_name, classify_name_ref, Definition, NameRefClass};
|
||||
|
||||
pub use self::search_scope::SearchScope;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue