"unused_mut" is not detected when variable type is mutable reference and the referent is mutated #88003
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
L-unused_mut
Lint: unused_mut
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code:
(Playground)
Current behavior:
no warning
Expected behavior:
The text was updated successfully, but these errors were encountered: