Lint fns that take immutable refs and return mutables #1507
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
L-correctness
Lint: Belongs in the correctness lint group
T-AST
Type: Requires working with the AST
The recent 1.15.0 release had an error where a newly stabilized API function returned a mutable ref from
&self
. We should lint such functions (and probably allow them aroundUnsafeCell
).The text was updated successfully, but these errors were encountered: