mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
make various enums "inherit" from AdtDef
This commit is contained in:
parent
d8b621cf26
commit
45117c6388
17 changed files with 156 additions and 121 deletions
|
@ -57,7 +57,7 @@ use crate::{
|
|||
};
|
||||
|
||||
pub use self::{
|
||||
adt::{AdtDef, VariantDef},
|
||||
adt::VariantDef,
|
||||
either::Either,
|
||||
expr::ExprScopes,
|
||||
generics::{GenericParam, GenericParams, HasGenericParams},
|
||||
|
@ -78,7 +78,7 @@ pub use self::{
|
|||
pub use self::code_model::{
|
||||
docs::{DocDef, Docs, Documentation},
|
||||
src::{HasBodySource, HasSource, Source},
|
||||
BuiltinType, Const, ConstData, Container, Crate, CrateDependency, DefWithBody, Enum,
|
||||
AdtDef, BuiltinType, Const, ConstData, Container, Crate, CrateDependency, DefWithBody, Enum,
|
||||
EnumVariant, FieldSource, FnData, Function, HasBody, MacroDef, Module, ModuleDef, ModuleSource,
|
||||
Static, Struct, StructField, Trait, TypeAlias, Union,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue