Skip to content

propagate opaque types to the typeck root #135445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
don't explicitly require 'external: 'body
this breaks propagate_type_outlives
  • Loading branch information
lcnr committed Jan 17, 2025
commit 417be2c7b29e9290a1843bf1c80716dafefcbb41
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
Loading