mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +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),
|
||||
AdtId(AdtId),
|
||||
AdtSelfType(AdtId),
|
||||
// Yup, enum variants are added to the types ns, but any usage of variant as
|
||||
// type is an error.
|
||||
EnumVariantId(EnumVariantId),
|
||||
TypeAliasId(TypeAliasId),
|
||||
BuiltinType(BuiltinType),
|
||||
|
|
Loading…
Reference in a new issue