1
Fork 0

Suggest copying trait associated type bounds on lifetime error

This commit is contained in:
Jack Huey 2022-01-08 23:30:19 -05:00
parent 30b3f35c42
commit 3d19c8defd
12 changed files with 163 additions and 28 deletions

View file

@ -285,6 +285,12 @@ pub enum ObligationCauseCode<'tcx> {
trait_item_def_id: DefId,
},
/// Checking that the bounds of a trait's associated type hold for a given impl
CheckAssociatedTypeBounds {
impl_item_def_id: DefId,
trait_item_def_id: DefId,
},
/// Checking that this expression can be assigned where it needs to be
// FIXME(eddyb) #11161 is the original Expr required?
ExprAssignable,