aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/presentation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/completion/presentation.rs')
-rw-r--r--crates/ra_ide_api/src/completion/presentation.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/presentation.rs b/crates/ra_ide_api/src/completion/presentation.rs
index 9aa346688..064d379a4 100644
--- a/crates/ra_ide_api/src/completion/presentation.rs
+++ b/crates/ra_ide_api/src/completion/presentation.rs
@@ -63,6 +63,7 @@ impl Completions {
63 return self.add_function_with_name(ctx, Some(local_name), *func); 63 return self.add_function_with_name(ctx, Some(local_name), *func);
64 } 64 }
65 Resolution::Def(Struct(it)) => (CompletionItemKind::Struct, it.docs(ctx.db)), 65 Resolution::Def(Struct(it)) => (CompletionItemKind::Struct, it.docs(ctx.db)),
66 Resolution::Def(Union(it)) => (CompletionItemKind::Struct, it.docs(ctx.db)),
66 Resolution::Def(Enum(it)) => (CompletionItemKind::Enum, it.docs(ctx.db)), 67 Resolution::Def(Enum(it)) => (CompletionItemKind::Enum, it.docs(ctx.db)),
67 Resolution::Def(EnumVariant(it)) => (CompletionItemKind::EnumVariant, it.docs(ctx.db)), 68 Resolution::Def(EnumVariant(it)) => (CompletionItemKind::EnumVariant, it.docs(ctx.db)),
68 Resolution::Def(Const(it)) => (CompletionItemKind::Const, it.docs(ctx.db)), 69 Resolution::Def(Const(it)) => (CompletionItemKind::Const, it.docs(ctx.db)),