Skip to content

Disable "on by default" notes #4819

@j-woolfe

Description

@j-woolfe

Is there a way to disable the "on by default" messages that appear below lints? For example:

Screenshot from 2019-11-15 23-42-09

I would like to hide the line "note: #[warn(clippy::assign_op_pattern)] on by default"

I can find documentation on how to hide the further information link but not this note. Manually enabling the desired lints in the file or on the command line doesn't seem to remove this message.

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