diff options
author | Florian Diebold <[email protected]> | 2021-04-09 13:11:37 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2021-04-09 13:11:37 +0100 |
commit | 743faa21e74cc5b627935e2c4c3365807a5c722f (patch) | |
tree | 28504dbaaa7238c5d7d64d2371dc3b672cb21e16 /crates/hir_ty/src/lib.rs | |
parent | 99ed68a109c9f7e0dc6a82ccb5bf854d60943957 (diff) |
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`.
Diffstat (limited to 'crates/hir_ty/src/lib.rs')
-rw-r--r-- | crates/hir_ty/src/lib.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crates/hir_ty/src/lib.rs b/crates/hir_ty/src/lib.rs index beb58d711..0743d3d30 100644 --- a/crates/hir_ty/src/lib.rs +++ b/crates/hir_ty/src/lib.rs | |||
@@ -18,6 +18,10 @@ mod chalk_cast; | |||
18 | mod chalk_ext; | 18 | mod chalk_ext; |
19 | mod builder; | 19 | mod builder; |
20 | mod walk; | 20 | mod walk; |
21 | mod tls; | ||
22 | mod interner; | ||
23 | mod mapping; | ||
24 | mod chalk_db; | ||
21 | 25 | ||
22 | pub mod display; | 26 | pub mod display; |
23 | pub mod db; | 27 | pub mod db; |
@@ -51,8 +55,9 @@ pub use lower::{ | |||
51 | associated_type_shorthand_candidates, callable_item_sig, CallableDefId, ImplTraitLoweringMode, | 55 | associated_type_shorthand_candidates, callable_item_sig, CallableDefId, ImplTraitLoweringMode, |
52 | TyDefId, TyLoweringContext, ValueTyDefId, | 56 | TyDefId, TyLoweringContext, ValueTyDefId, |
53 | }; | 57 | }; |
54 | pub use traits::{chalk::Interner, TraitEnvironment}; | 58 | pub use traits::TraitEnvironment; |
55 | pub use walk::TypeWalk; | 59 | pub use walk::TypeWalk; |
60 | pub use interner::Interner; | ||
56 | 61 | ||
57 | pub use chalk_ir::{ | 62 | pub use chalk_ir::{ |
58 | cast::Cast, AdtId, BoundVar, DebruijnIndex, Mutability, Safety, Scalar, TyVariableKind, | 63 | cast::Cast, AdtId, BoundVar, DebruijnIndex, Mutability, Safety, Scalar, TyVariableKind, |