rust/clippy_lints/src/methods
Rabi Guha c2e5534157 Check fn header along with decl when suggesting to implement trait
When checking for functions that are potential candidates for trait
implementations check the function header to make sure modifiers like
asyncness, constness and safety match before triggering the lint.

Fixes #5413, #4290
2020-04-08 21:24:20 +05:30
..
inefficient_to_string.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
manual_saturating_arithmetic.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
mod.rs Check fn header along with decl when suggesting to implement trait 2020-04-08 21:24:20 +05:30
option_map_unwrap_or.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
unnecessary_filter_map.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00