aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ide_completion/src/completions/unqualified_path.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ide_completion/src/completions/unqualified_path.rs b/crates/ide_completion/src/completions/unqualified_path.rs
index 7875500c1..6ea0efe9f 100644
--- a/crates/ide_completion/src/completions/unqualified_path.rs
+++ b/crates/ide_completion/src/completions/unqualified_path.rs
@@ -13,6 +13,8 @@ pub(crate) fn complete_unqualified_path(acc: &mut Completions, ctx: &CompletionC
13 || ctx.record_pat_syntax.is_some() 13 || ctx.record_pat_syntax.is_some()
14 || ctx.attribute_under_caret.is_some() 14 || ctx.attribute_under_caret.is_some()
15 || ctx.mod_declaration_under_caret.is_some() 15 || ctx.mod_declaration_under_caret.is_some()
16 || ctx.has_impl_parent
17 || ctx.has_trait_parent
16 { 18 {
17 return; 19 return;
18 } 20 }