From bea75e0943d08b4a142ba681a9f6992bbfdd5d8f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 23 Jan 2019 20:45:32 +0300 Subject: drop obsolete comment --- crates/ra_hir/src/nameres/lower.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'crates/ra_hir/src/nameres/lower.rs') 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 { SyntaxKind::MODULE => PerNs::types(DefKind::Module), SyntaxKind::STRUCT_DEF => PerNs::both(DefKind::Struct, DefKind::StructCtor), SyntaxKind::ENUM_DEF => PerNs::types(DefKind::Enum), - // These define items, but don't have their own DefKinds yet: SyntaxKind::TRAIT_DEF => PerNs::types(DefKind::Trait), SyntaxKind::TYPE_DEF => PerNs::types(DefKind::Type), SyntaxKind::CONST_DEF => PerNs::values(DefKind::Const), -- cgit v1.2.3