Skip to content

[Tracking] rust-lang/rustfmt fixes not yet synced to rust-lang/rust #6685

@shulaoda

Description

@shulaoda

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions