Skip to content

Commit 995a306

Browse files
committed
don't explicitly require 'external: 'body
this breaks propagate_type_outlives
1 parent d40b6e1 commit 995a306

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compiler/rustc_borrowck/src/type_check/opaque_types.rs

-4
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ pub(super) fn force_regions_to_existential_externals<'tcx>(
7373
ConstraintCategory::OpaqueType,
7474
typeck.constraints,
7575
);
76-
constraint_conversion.convert(
77-
ty::OutlivesPredicate(external_reg.into(), fr_fn_body),
78-
ConstraintCategory::OpaqueType,
79-
);
8076
constraint_conversion.convert(
8177
ty::OutlivesPredicate(external_reg.into(), r),
8278
ConstraintCategory::OpaqueType,

0 commit comments

Comments
 (0)