Skip to content

Add tests for nested tuple access #4470

Closed
@calebcartwright

Description

@calebcartwright

There have been various reports of the same underlying parsing issue with nested tuple access over the last few weeks. rust-lang/rust#77774 in rustc addressed the underlying issue which was then incorporated within rustfmt via #4469

However, would still be good to add some regression test cases for all the reports by adding corresponding files under the tests/target directory (no source files needed for this)
https://github.com/rust-lang/rustfmt/blob/master/Contributing.md#creating-test-cases

For anyone interested in working on this, please add tests for all the reported cases (including those added in issue comments)
#4355
#4410
#4363
rust-lang/rust#76449

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions