-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
unused_unsafe gives wrong reason #48131
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.
The
unsafeblock is clearly unnecessary, but it being inside a safe function which is nested in an unsafe function is clearly not the reason. Playpen