diff options
author | Lukas Tobias Wirth <[email protected]> | 2021-05-23 18:33:28 +0100 |
---|---|---|
committer | Lukas Tobias Wirth <[email protected]> | 2021-05-23 18:37:01 +0100 |
commit | da74c66947ec847f2ca8e99d96cc7e36fd494c75 (patch) | |
tree | 0f9f18647a70d38fc1c02761de8f4d9f16fb3283 /crates/ide_assists | |
parent | f04daf693aec9f3ffbd98bd368b79646246d506b (diff) |
Correctly resolve crate name in use paths when import shadows itself
Diffstat (limited to 'crates/ide_assists')
-rw-r--r-- | crates/ide_assists/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ide_assists/src/lib.rs b/crates/ide_assists/src/lib.rs index 05644b6ff..4cd82f8c1 100644 --- a/crates/ide_assists/src/lib.rs +++ b/crates/ide_assists/src/lib.rs | |||
@@ -20,8 +20,7 @@ pub mod path_transform; | |||
20 | use std::str::FromStr; | 20 | use std::str::FromStr; |
21 | 21 | ||
22 | use hir::Semantics; | 22 | use hir::Semantics; |
23 | use ide_db::base_db::FileRange; | 23 | use ide_db::{base_db::FileRange, label::Label, source_change::SourceChange, RootDatabase}; |
24 | use ide_db::{label::Label, source_change::SourceChange, RootDatabase}; | ||
25 | use syntax::TextRange; | 24 | use syntax::TextRange; |
26 | 25 | ||
27 | pub(crate) use crate::assist_context::{AssistContext, Assists}; | 26 | pub(crate) use crate::assist_context::{AssistContext, Assists}; |