-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Remove ProjectionElem::Subtype
#118477
Remove ProjectionElem::Subtype
#118477
Conversation
This PR changes MIR cc @oli-obk, @RalfJung, @JakobDegen, @davidtwco, @celinval, @vakaras Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri This PR changes Stable MIR cc @oli-obk, @celinval, @spastorino, @ouz-a Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 Some changes occurred in src/tools/clippy cc @rust-lang/clippy Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
cd40aba
to
4cdfc18
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4cdfc18
to
2ebd0c9
Compare
Some changes occurred in engine.rs, potentially modifying the public API of |
I think this should be it, removed everything, please let me know if there is anything else that catches your eye |
// check-fail | ||
// failure-status: 101 | ||
// dont-check-compiler-stderr | ||
// known-bug: unknown | ||
// compile-flags: -Z mir-opt-level=3 | ||
#![feature(type_alias_impl_trait)] | ||
#![crate_type = "lib"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this link to #118478 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah the issue didn't existed when I created this (chicken egg problem 😄 ) will fix it.
☔ The latest upstream changes (presumably #118692) made this pull request unmergeable. Please resolve the merge conflicts. |
based on latest comments, I think I can flip the review flag @rustbot author |
alright, based on the convo in #112651 (comment) I believe we should remove these projections 😅 sorry @ouz-a for all the delays and I would love to review this PR if you want to pick it up again |
@ouz-a any updates on this? thanks |
This PR reverts
ProjectionElem::Subtype
which was introduced in #115025 which attempetd to fix #107205 but couldn't completely solve the issue due to #112651 (comment), so leaving this as half-solution is more dangerous than completely removing it.r? @lcnr