clippy does not warn me of shadowing #3979
Labels
C-bug
Category: Clippy is not doing the correct thing
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
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
The text was updated successfully, but these errors were encountered: