1
Fork 0

Auto merge of #113637 - Mark-Simulacrum:bootstrap-bump, r=ozkanonur

Bump bootstrap to 1.72 beta
This commit is contained in:
bors 2023-07-13 18:15:14 +00:00
commit a161ab00db
181 changed files with 1801 additions and 1439 deletions

View file

@ -228,10 +228,7 @@ fn rematch_object<'tcx>(
mut nested: Vec<PredicateObligation<'tcx>>,
) -> SelectionResult<'tcx, Selection<'tcx>> {
let self_ty = goal.predicate.self_ty();
let ty::Dynamic(data, _, source_kind) = *self_ty.kind()
else {
bug!()
};
let ty::Dynamic(data, _, source_kind) = *self_ty.kind() else { bug!() };
let source_trait_ref = data.principal().unwrap().with_self_ty(infcx.tcx, self_ty);
let (is_upcasting, target_trait_ref_unnormalized) = if Some(goal.predicate.def_id())