-
Notifications
You must be signed in to change notification settings - Fork 954
Description
Summary
This issue tracks reports that may already be fixed upstream in rust-lang/rustfmt, but are still reproducible in the version of rustfmt shipped with rust-lang/rust. Some of these issues may also be regressions introduced by recent changes in rustc, which can‘t be directly verified in the upstream repository.
Background
I’ve been trying to contribute fixes for some issues and noticed that they work correctly when testing against the upstream rust-lang/rustfmt repository, but not in the latest released nightly toolchain.
This happens because the copy of rustfmt included in rust-lang/rust (under src/tools/rustfmt
) has not been synchronized with upstream for quite some time. The team is aware of this and is actively working to improve the situation. A new synchronization plan is in progress at rust-lang/rustfmt#6681.
Related Issues
- error[internal]: left behind trailing whitespace #6676
- format comments bug: comment merges with the next line even if it's a code block opener #6675
- rustfmt failed with use underscore prefixed name #6668
Note: The current conclusions are based on the state before the sync. They should be revalidated after rust-lang/rustfmt#6681 is merged and the next nightly includes the updated rustfmt.