Mostly restore hir API boundary

This commit is contained in:
Jonas Schievink 2022-01-12 19:56:47 +01:00
parent 4fe10b7bfe
commit 09219e10f1
7 changed files with 401 additions and 400 deletions

View file

@ -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.
///