mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
Mostly restore hir
API boundary
This commit is contained in:
parent
4fe10b7bfe
commit
09219e10f1
7 changed files with 401 additions and 400 deletions
|
@ -4,8 +4,8 @@ use std::fmt;
|
|||
|
||||
use either::Either;
|
||||
use hir::{
|
||||
AssocItem, Documentation, FieldSource, HasAttrs, HasSource, HirDisplay, InFile, ModuleSource,
|
||||
Semantics,
|
||||
symbols::FileSymbol, AssocItem, Documentation, FieldSource, HasAttrs, HasSource, HirDisplay,
|
||||
InFile, ModuleSource, Semantics,
|
||||
};
|
||||
use ide_db::{
|
||||
base_db::{FileId, FileRange},
|
||||
|
@ -17,8 +17,6 @@ use syntax::{
|
|||
match_ast, AstNode, SmolStr, TextRange,
|
||||
};
|
||||
|
||||
use crate::FileSymbol;
|
||||
|
||||
/// `NavigationTarget` represents an element in the editor's UI which you can
|
||||
/// click on to navigate to a particular piece of code.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue