Require ModPath for importing

This commit is contained in:
Kirill Bulatov 2020-02-02 14:06:51 +02:00
parent a9669a5505
commit 6dae5cbb11
6 changed files with 65 additions and 37 deletions

View file

@ -59,6 +59,7 @@ pub use hir_def::{
ModuleDefId, // FIXME this is exposed and should be used for implementing the `TestImportsLocator` in `ra_assists` only, should be removed later along with the trait and the implementation.
};
pub use hir_expand::{
name::Name, HirFileId, InFile, MacroCallId, MacroCallLoc, MacroDefId, MacroFile, Origin,
name::{known, Name},
HirFileId, InFile, MacroCallId, MacroCallLoc, MacroDefId, MacroFile, Origin,
};
pub use hir_ty::{display::HirDisplay, CallableDef};