mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 00:47:18 +00:00
Merge #2415
2415: Add note r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
3b0fc8ac62
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