Skip to content

New attribute syntax incompatible with macro_rules attr matchers #13067

Closed
@brson

Description

@brson

This is a problem in compile-fail/macro-inner-attributes.rs under the new attribute syntax. In macro_rules, an attr matcher matches #[foo], which leaves no way to match inner attributes. @alexcrichton suggests changing these to meta matchers that don't match the # or brackets. Nominating.

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