rustfmt breaks when rustc
is set in config.toml
#108210
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Steps for reproduction:
cargo
andrustc
under thebuild
section inconfig.toml
Here's mine:
./x.py fmt
I expected to see this happen: It formats the files
Instead, this happened: Here's the error:
Meta
rustc --version --verbose
:rustc +beta-2023-01-25-aarch64-apple-darwin --version --verbose
:Comments:
unstable-features
exists only in nightly rust since I am able to run it using.rustup/toolchains/nightly-aarch64-apple-darwin/bin/rustfmt
. Settingrustc
to stable or beta rustc breaks it.I would like to take this up if it can be reproduced for others
The text was updated successfully, but these errors were encountered: