gccrs
gccrs copied to clipboard
Implement unused mut lint
This PR implements unused mut lint, it uses the hir default visitor and visit IdentifierPattern and StructPatternFieldIdent, to add to a map of mutable vars in the lint unused context.
Requires https://github.com/Rust-GCC/gccrs/pull/4285