-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustfmt
no longer builds after rust-lang/rust#69659
#72232
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
Comments
This is probably rustfmt's use of librustc_index, which implements the step trait. I don't see any direct usage that would cause the breakage. |
rustfmt was already broken on the latest rustc-ap version, so I'm not exactly sure why my PR is implicated rather than #71555. |
I believe the breakage is due to #72001, which requires us to set the env var |
FWIW, I just tried on commit 0271499, which is the parent to #69659's merge commit ed084b0, and rustfmt built fine. The errors I see later are in Could well be that the other mentioned PRs would also cause problems though. |
@cuviper we've already patched rustfmt for the other problems (rust-lang/rustfmt#4184, rust-lang/rustfmt#4188), what remains is just propagating changes IIUC. |
I just tried updating to latest rustfmt from master.
|
@ctaggart - which nightly are you using? Based on the output it seems like you're probably using an older one (IIRC you'll need |
@calebcartwright, yes, that was my issue. It works now on It was not working on:
Oh, I see. Looks like rustfmt-preview has not build for a while:
|
Update Clippy, RLS, and rustfmt r? @Dylan-DPC This makes Clippy test-pass again: 3089c3b Otherwise this includes bugfixes and a few new lints. Fixes rust-lang#72231 Fixes rust-lang#72232
Hello, this is your friendly neighborhood mergebot.
After merging PR #69659, 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 @CAD97, do you think you would have time to do the follow-up work?
If so, that would be great!
And nominating for compiler team prioritization.
The text was updated successfully, but these errors were encountered: