mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
be55a96d80
This commit adds a config flag for enforcing explicit into iter lint for reborrowed values. The config flag, enforce_iter_loop_reborrow, can be added to clippy.toml files to enable the linting behaviour. By default the lint is not enabled.