Skip to content

Trailing attributes are accepted in impl blocks #20711

Closed
@sfackler

Description

@sfackler
struct Foo;

impl Foo {
    #[stable]
}

fn main() {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-parserArea: The lexing & parsing of Rust source code to an AST

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions