diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir/src/nameres/lower.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_hir/src/nameres/lower.rs b/crates/ra_hir/src/nameres/lower.rs index 270f9ab03..4eea6ff1d 100644 --- a/crates/ra_hir/src/nameres/lower.rs +++ b/crates/ra_hir/src/nameres/lower.rs | |||
@@ -251,7 +251,6 @@ impl DefKind { | |||
251 | SyntaxKind::MODULE => PerNs::types(DefKind::Module), | 251 | SyntaxKind::MODULE => PerNs::types(DefKind::Module), |
252 | SyntaxKind::STRUCT_DEF => PerNs::both(DefKind::Struct, DefKind::StructCtor), | 252 | SyntaxKind::STRUCT_DEF => PerNs::both(DefKind::Struct, DefKind::StructCtor), |
253 | SyntaxKind::ENUM_DEF => PerNs::types(DefKind::Enum), | 253 | SyntaxKind::ENUM_DEF => PerNs::types(DefKind::Enum), |
254 | // These define items, but don't have their own DefKinds yet: | ||
255 | SyntaxKind::TRAIT_DEF => PerNs::types(DefKind::Trait), | 254 | SyntaxKind::TRAIT_DEF => PerNs::types(DefKind::Trait), |
256 | SyntaxKind::TYPE_DEF => PerNs::types(DefKind::Type), | 255 | SyntaxKind::TYPE_DEF => PerNs::types(DefKind::Type), |
257 | SyntaxKind::CONST_DEF => PerNs::values(DefKind::Const), | 256 | SyntaxKind::CONST_DEF => PerNs::values(DefKind::Const), |