-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
require Reveal::All
in normalize_erasing_regions
#77752
Conversation
r? @oli-obk (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ rollup |
📌 Commit 19e7095 has been approved by |
require `Reveal::All` in `normalize_erasing_regions` would have caught a bug in mir inlining, see rust-lang#77568 (comment)
Seems failed in #77797 (comment):
https://github.com/rust-lang-ci/rust/runs/1235982427 @bors r- |
There are a few places that should (sometimes) be given user facing param envs: rust/compiler/rustc_lint/src/types.rs Line 818 in 12187b7
rust/compiler/rustc_ty/src/needs_drop.rs Lines 134 to 137 in 3e14b68
|
doesn't Will have to look into this a bit more deeply then |
It ICEs if an associated type projection isn't well-formed (i.e. the self type doesn't implement the trait that's expected), but doesn't if it does but can't be normalized. |
would have caught a bug in mir inlining, see #77568 (comment)