-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add -Zprecise-enum-drop-elaboration
#77423
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add -Zprecise-enum-drop-elaboration
#77423
Conversation
Its purpose is to assist in debugging rust-lang#77382 and rust-lang#74551.
I was still able to reproduce with nightly-2020-09-30, at least. However, I just did my own master build with rust debug-assertions and llvm assertions enabled, hoping to get a hit, but that test passed. I'm trying again with Once I find a reliable build config to reproduce on master, I'll try with your changes here. |
@bors r+ rollup |
📌 Commit 6691d11 has been approved by |
I reproduced it on master, and I can also reproduce it on this branch with the given flag to disable. I even made sure to set |
…as-schievink Rollup of 12 pull requests Successful merges: - rust-lang#76101 (Update RELEASES.md for 1.47.0) - rust-lang#76739 (resolve: prohibit anon const non-static lifetimes) - rust-lang#76811 (Doc alias name restriction) - rust-lang#77405 (Add tracking issue of iter_advance_by feature) - rust-lang#77409 (Add example for iter chain struct) - rust-lang#77415 (Better error message for `async` blocks in a const-context) - rust-lang#77423 (Add `-Zprecise-enum-drop-elaboration`) - rust-lang#77432 (Use posix_spawn on musl targets) - rust-lang#77441 (Fix AVR stack corruption bug) - rust-lang#77442 (Clean up on example doc fixes for ptr::copy) - rust-lang#77444 (Fix span for incorrect pattern field and add label) - rust-lang#77453 (Stop running macOS builds on Azure Pipelines) Failed merges: r? `@ghost`
Its purpose is to assist in debugging #77382 and #74551. Passing
-Zprecise-enum-drop-elaboration=no
will turn off the added precision that seems to be causing issues on some platforms. This assumes that we can reproduce #77382 on the latest master. I should have done this earlier. Oh well.cc @cuviper
r? @pnkfelix