Skip to content

Syntax for turning off warnings is confusing #2768

Closed
@brson

Description

@brson

This means turn off the 'old-vecs' warning:

#[warn(no_old_vecs)];

To me this says 'turn on the no-old-vecs warning'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-attributesArea: Attributes (`#[…]`, `#![…]`)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions