Skip to content

Automatically allow unused_braces in the macro output #9

Description

@teor2345

Usually the macro would emit allow attributes as part of its output, but that's not possible for compiler features, because they have to be at crate level.

At some point it would be helpful to move #[allow(unused_braces)] into the macro output, and make it apply only to the statements generated by the macro.

Originally posted by @teor2345 in #7 (comment)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions