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:
Florian Diebold 2021-04-09 14:11:37 +02:00
parent 99ed68a109
commit 743faa21e7
10 changed files with 71 additions and 98 deletions

View file

@ -20,7 +20,8 @@ use crate::{
method_resolution, op,
primitive::{self, UintTy},
static_lifetime, to_chalk_trait_id,
traits::{chalk::from_chalk, FnTrait},
traits::FnTrait,
chalk_db::from_chalk,
utils::{generics, Generics},
AdtId, Binders, CallableDefId, FnPointer, FnSig, FnSubst, InEnvironment, Interner,
ProjectionTyExt, Rawness, Scalar, Substitution, TraitRef, Ty, TyBuilder, TyExt, TyKind,