diff options
author | Aleksey Kladov <[email protected]> | 2019-01-23 17:45:32 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-23 17:45:32 +0000 |
commit | bea75e0943d08b4a142ba681a9f6992bbfdd5d8f (patch) | |
tree | 48d4b37cadf908f669621d48f564a461ad39b8f2 /crates/ra_hir/src | |
parent | 5ced113e1cf79ce6aa1edd574dde4b845e78d562 (diff) |
drop obsolete comment
Diffstat (limited to 'crates/ra_hir/src')
-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), |