diff options
author | Aleksey Kladov <[email protected]> | 2019-11-26 16:30:57 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-26 16:30:57 +0000 |
commit | 6fb4871f3149ab32e50052eb6a3bb29f852e6a6b (patch) | |
tree | 5e3b314dc4c78c42fc64b571461606e85e136b8d /crates/ra_hir_def/src | |
parent | 6560e4ff2eae4e54384896d6ae100f1d2df20518 (diff) |
Add note
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r-- | crates/ra_hir_def/src/resolver.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_hir_def/src/resolver.rs b/crates/ra_hir_def/src/resolver.rs index 95b3c926d..c40f41717 100644 --- a/crates/ra_hir_def/src/resolver.rs +++ b/crates/ra_hir_def/src/resolver.rs | |||
@@ -61,6 +61,8 @@ pub enum TypeNs { | |||
61 | GenericParam(u32), | 61 | GenericParam(u32), |
62 | AdtId(AdtId), | 62 | AdtId(AdtId), |
63 | AdtSelfType(AdtId), | 63 | AdtSelfType(AdtId), |
64 | // Yup, enum variants are added to the types ns, but any usage of variant as | ||
65 | // type is an error. | ||
64 | EnumVariantId(EnumVariantId), | 66 | EnumVariantId(EnumVariantId), |
65 | TypeAliasId(TypeAliasId), | 67 | TypeAliasId(TypeAliasId), |
66 | BuiltinType(BuiltinType), | 68 | BuiltinType(BuiltinType), |