diff options
author | Kirill Bulatov <[email protected]> | 2021-02-28 08:32:15 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-03-08 21:59:20 +0000 |
commit | 89d410cef571f5fa7631b17e2fbe52a8f8f03990 (patch) | |
tree | 6c40354741dda2072ef08f1bab9920547277bdd0 /crates/hir | |
parent | 9482353fa8e1e88cb720a029b9bb6304819c7399 (diff) |
Do not propose already imported imports
Diffstat (limited to 'crates/hir')
-rw-r--r-- | crates/hir/src/semantics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir/src/semantics.rs b/crates/hir/src/semantics.rs index 945638cc5..69370ef3d 100644 --- a/crates/hir/src/semantics.rs +++ b/crates/hir/src/semantics.rs | |||
@@ -774,7 +774,7 @@ fn find_root(node: &SyntaxNode) -> SyntaxNode { | |||
774 | /// | 774 | /// |
775 | /// Note that if you are wondering "what does this specific existing name mean?", | 775 | /// Note that if you are wondering "what does this specific existing name mean?", |
776 | /// you'd better use the `resolve_` family of methods. | 776 | /// you'd better use the `resolve_` family of methods. |
777 | #[derive(Debug)] | 777 | #[derive(Debug, Clone)] |
778 | pub struct SemanticsScope<'a> { | 778 | pub struct SemanticsScope<'a> { |
779 | pub db: &'a dyn HirDatabase, | 779 | pub db: &'a dyn HirDatabase, |
780 | file_id: HirFileId, | 780 | file_id: HirFileId, |