mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
Add note
This commit is contained in:
parent
6560e4ff2e
commit
6fb4871f31
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ pub enum TypeNs {
|
||||||
GenericParam(u32),
|
GenericParam(u32),
|
||||||
AdtId(AdtId),
|
AdtId(AdtId),
|
||||||
AdtSelfType(AdtId),
|
AdtSelfType(AdtId),
|
||||||
|
// Yup, enum variants are added to the types ns, but any usage of variant as
|
||||||
|
// type is an error.
|
||||||
EnumVariantId(EnumVariantId),
|
EnumVariantId(EnumVariantId),
|
||||||
TypeAliasId(TypeAliasId),
|
TypeAliasId(TypeAliasId),
|
||||||
BuiltinType(BuiltinType),
|
BuiltinType(BuiltinType),
|
||||||
|
|
Loading…
Reference in a new issue