Open
Description
rustfmt
's tests require its source code to be properly formatted, but when making changes to rustfmt through its subtree in rust-lang/rust, it seems like there's no way to do such formatting automatically.
@jyn514 suggests that x.py fmt src/tools/rustfmt
should just work and do the formatting, and it's probably just a missing step in src/bootstrap/fmt.rs
that prevents it from working.
Metadata
Metadata
Assignees
Labels
Area: RustfmtCall for participation: Medium difficulty. Experience needed to fix: Intermediate.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the compiler team, which will review and decide on the PR/issue.