Skip to content

Commit

Permalink
Auto merge of #116156 - oli-obk:opaque_place_unwrap, r=compiler-errors
Browse files Browse the repository at this point in the history
Only prevent field projections into opaque types, not types containing opaque types

fixes rust-lang/rust#115778

I did not think that original condition through properly... I'll also need to check the similar check around the other `ProjectionKind::OpaqueCast` creation site (this one is in hir, the other one is in mir), but I'll do that change in another PR that doesn't go into a beta backport.
  • Loading branch information
bors committed Sep 27, 2023
2 parents 1ee35bc + 4e7baa4 commit 0729ecb
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0729ecb

Please sign in to comment.