Add impl trait lowering mode

This commit is contained in:
Florian Diebold
2020-01-24 15:22:00 +01:00
parent 22a65b11b3
commit 7ea4bce1b2
6 changed files with 141 additions and 40 deletions

View File

@@ -60,7 +60,9 @@ use display::{HirDisplay, HirFormatter};
pub use autoderef::autoderef;
pub use infer::{do_infer_query, InferTy, InferenceResult};
pub use lower::CallableDef;
pub use lower::{callable_item_sig, TyDefId, TyLoweringContext, ValueTyDefId};
pub use lower::{
callable_item_sig, ImplTraitLoweringMode, TyDefId, TyLoweringContext, ValueTyDefId,
};
pub use traits::{InEnvironment, Obligation, ProjectionPredicate, TraitEnvironment};
/// A type constructor or type name: this might be something like the primitive