-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
allow unused_mut ignored #40491
Copy link
Copy link
Closed
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.
Metadata
Metadata
Assignees
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.
Type
Fields
Give feedbackNo fields configured for issues without a type.
#[allow(unused_mut)]seems to be ignoredFor example:
I expected to see no warning about the mut flag of a
Instead, this happened:
Meta
This currently happens on all 3 major branches: stable, beta, nightly:
Backtrace:
RUST_BACKTRACE=fulldoes not give more information.