Skip to content

pub on macro_rules! not supported in rustfmt #82640

Description

@JulianKnodt

https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=71be237d1aed61df9bbdb665bbd5a056`

I expected to be able to format it with rustfmt,

but when running rustfmt there is an error despite compilation succeeding.

The implementation PR is #82296, but unsure if there's a RFC for the original idea.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions