Skip to content

Allow attributes on statements #12963

Closed
Closed
@huonw

Description

@huonw

e.g.

#[allow(uppercase_variable)]
let L = [1,2];

#[only_uses(ffi)] // (hypothetical)
unsafe { 
    // ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-grammarArea: The grammar of Rust

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions