rust-lang / rust-clippy

A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
https://rust-lang.github.io/rust-clippy/
Other
10.89k stars 1.46k forks source link

make [`manual_map`] ignore types that contain `dyn` #12712

Open J-ZhengLi opened 2 weeks ago

J-ZhengLi commented 2 weeks ago

fixes: #12659

[manual_map] and [manual_filter] shares the same check logic, but this issue doesn't seems like it could affect manual_filter (?)


changelog: make [manual_map] ignore types that contain dyn

rustbot commented 2 weeks ago

r? @dswij

rustbot has assigned @dswij. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

J-ZhengLi commented 4 days ago

@rustbot ready