mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
push either to hir_expand
This commit is contained in:
parent
0bc7d28518
commit
b05d6e53fb
7 changed files with 16 additions and 22 deletions
|
@ -60,6 +60,13 @@ use crate::{ids::MacroFileKind, resolve::Resolver};
|
|||
|
||||
pub use crate::{
|
||||
adt::VariantDef,
|
||||
code_model::{
|
||||
docs::{DocDef, Docs, Documentation},
|
||||
src::{HasBodySource, HasSource, Source},
|
||||
Adt, AssocItem, BuiltinType, Const, ConstData, Container, Crate, CrateDependency,
|
||||
DefWithBody, Enum, EnumVariant, FieldSource, FnData, Function, HasBody, MacroDef, Module,
|
||||
ModuleDef, ModuleSource, Static, Struct, StructField, Trait, TypeAlias, Union,
|
||||
},
|
||||
expr::ExprScopes,
|
||||
from_source::FromSource,
|
||||
generics::{GenericDef, GenericParam, GenericParams, HasGenericParams},
|
||||
|
@ -73,17 +80,9 @@ pub use crate::{
|
|||
},
|
||||
};
|
||||
|
||||
pub use self::code_model::{
|
||||
docs::{DocDef, Docs, Documentation},
|
||||
src::{HasBodySource, HasSource, Source},
|
||||
Adt, AssocItem, BuiltinType, Const, ConstData, Container, Crate, CrateDependency, DefWithBody,
|
||||
Enum, EnumVariant, FieldSource, FnData, Function, HasBody, MacroDef, Module, ModuleDef,
|
||||
ModuleSource, Static, Struct, StructField, Trait, TypeAlias, Union,
|
||||
};
|
||||
|
||||
pub use hir_def::{
|
||||
either::Either,
|
||||
name::Name,
|
||||
path::{Path, PathKind},
|
||||
type_ref::Mutability,
|
||||
};
|
||||
pub use hir_expand::either::Either;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue