diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2021-12-21 15:48:12 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2021-12-21 15:48:12 +0100 |
| commit | 929cae74b160a9a3567962d9f880bd60e0dc4e34 (patch) | |
| tree | 0bfed126b0a2e9ce30efe11c0b74a6acc0a9ea25 | |
| parent | 95ae67b0b0ae28a5b420322be18c5db9ecccfb0c (diff) | |
| download | rust-929cae74b160a9a3567962d9f880bd60e0dc4e34.tar.gz rust-929cae74b160a9a3567962d9f880bd60e0dc4e34.zip | |
fmt +stable
| -rw-r--r-- | crates/ide_completion/src/completions/qualified_path.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/ide_completion/src/completions/qualified_path.rs b/crates/ide_completion/src/completions/qualified_path.rs index 1af7ac95206..656d46b10be 100644 --- a/crates/ide_completion/src/completions/qualified_path.rs +++ b/crates/ide_completion/src/completions/qualified_path.rs @@ -152,7 +152,9 @@ pub(crate) fn complete_qualified_path(acc: &mut Completions, ctx: &CompletionCon } } hir::PathResolution::Def( - def @ (hir::ModuleDef::Adt(_) + def + @ + (hir::ModuleDef::Adt(_) | hir::ModuleDef::TypeAlias(_) | hir::ModuleDef::BuiltinType(_)), ) => { |
