Don't suggest `Box::default()` in functions with differing generics Fixes #12684 changelog: none
This crate contains Clippy lints. For the main crate, check GitHub.