-
Notifications
You must be signed in to change notification settings - Fork 13k
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
rustfmt
no longer builds after rust-lang/rust#77306
#78079
Comments
|
Hi @matthewjasper, can you please the command to replicate this bug? Thanks |
|
won't be able to get to this myself in the next few days. To fix this we probably have to compile it with |
Hi @lcnr, the error occurred where we just erasing regions by simply doing this (tcx.erase_regions(&trait_ref)) and provided assertion with (tcx.normalize_erasing_regions(param_env, trait_ref)). Is this scenario correct? Just want to confirm as you already mentioned to put a tcx.normalize_erasing_regions. Thanks |
yes, so we do not want to use To detect cases where we are still using unnormalized values #77306 added a debug assert there. |
okay, thanks for the update. |
Hi @lcnr as you mentioned |
Can you post the resulting backtrace using |
@lcnr, here it is:
|
So I think that the easiest fix is to add rust/compiler/rustc_mir_build/src/lints.rs Lines 74 to 80 in 9832374
I am however surprised that |
Hello, this is your friendly neighborhood mergebot.
After merging PR #77306, I observed that the tool rustfmt no longer builds.
A follow-up PR to the repository https://github.com/rust-lang/rustfmt is needed to fix the fallout.
cc @lcnr, do you think you would have time to do the follow-up work?
If so, that would be great!
The text was updated successfully, but these errors were encountered: