Closed
Description
clippy 0.0.212 (1fac380 2019-02-20)
I use:
clippy::shadow_reuse,
clippy::shadow_same,
clippy::shadow_unrelated,
I have this code:
let users = Arc::new(Mutex::new(HashMap::new()));
// Turn our "state" into a new Filter...
let users = warp::any().map(move || users.clone());
Clippy does not warn me about this shadowing.
https://github.com/LucianoBestia/mem2_server