Skip to content

Commit

Permalink
don't explicitly require 'external: 'body
Browse files Browse the repository at this point in the history
this breaks propagate_type_outlives
  • Loading branch information
lcnr committed Jan 17, 2025
1 parent 5cb2d9d commit 417be2c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions compiler/rustc_borrowck/src/type_check/opaque_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ pub(super) fn force_regions_to_existential_externals<'tcx>(
ConstraintCategory::OpaqueType,
typeck.constraints,
);
constraint_conversion.convert(
ty::OutlivesPredicate(external_reg.into(), fr_fn_body),
ConstraintCategory::OpaqueType,
);
constraint_conversion.convert(
ty::OutlivesPredicate(external_reg.into(), r),
ConstraintCategory::OpaqueType,
Expand Down

0 comments on commit 417be2c

Please sign in to comment.