aboutsummaryrefslogtreecommitdiff
path: root/crates/hir/src
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2021-02-28 08:32:15 +0000
committerKirill Bulatov <[email protected]>2021-03-08 21:59:20 +0000
commit89d410cef571f5fa7631b17e2fbe52a8f8f03990 (patch)
tree6c40354741dda2072ef08f1bab9920547277bdd0 /crates/hir/src
parent9482353fa8e1e88cb720a029b9bb6304819c7399 (diff)
Do not propose already imported imports
Diffstat (limited to 'crates/hir/src')
-rw-r--r--crates/hir/src/semantics.rs2
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)]
778pub struct SemanticsScope<'a> { 778pub struct SemanticsScope<'a> {
779 pub db: &'a dyn HirDatabase, 779 pub db: &'a dyn HirDatabase,
780 file_id: HirFileId, 780 file_id: HirFileId,