mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Reorganize hir_ty modules
Chalk isn't really a 'traits' thing anymore, so it doesn't make sense to have all the Chalk-related stuff in submodules of `traits`.
This commit is contained in:
parent
99ed68a109
commit
743faa21e7
10 changed files with 71 additions and 98 deletions
|
@ -18,6 +18,10 @@ mod chalk_cast;
|
|||
mod chalk_ext;
|
||||
mod builder;
|
||||
mod walk;
|
||||
mod tls;
|
||||
mod interner;
|
||||
mod mapping;
|
||||
mod chalk_db;
|
||||
|
||||
pub mod display;
|
||||
pub mod db;
|
||||
|
@ -51,8 +55,9 @@ pub use lower::{
|
|||
associated_type_shorthand_candidates, callable_item_sig, CallableDefId, ImplTraitLoweringMode,
|
||||
TyDefId, TyLoweringContext, ValueTyDefId,
|
||||
};
|
||||
pub use traits::{chalk::Interner, TraitEnvironment};
|
||||
pub use traits::TraitEnvironment;
|
||||
pub use walk::TypeWalk;
|
||||
pub use interner::Interner;
|
||||
|
||||
pub use chalk_ir::{
|
||||
cast::Cast, AdtId, BoundVar, DebruijnIndex, Mutability, Safety, Scalar, TyVariableKind,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue