error: `impl Trait` used as a function parameter --> tests/ui/crashes/ice-11803.rs:5:54 | LL | pub fn g>>() { | ^^^^^^^^^^ | = note: `-D clippy::impl-trait-in-params` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::impl_trait_in_params)]` help: add a type parameter | LL | pub fn g>, { /* Generic name */ }: Clone>() { | +++++++++++++++++++++++++++++++ error: `impl Trait` used as a function parameter --> tests/ui/crashes/ice-11803.rs:5:33 | LL | pub fn g>>() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: add a type parameter | LL | pub fn g>, { /* Generic name */ }: Iterator>() { | +++++++++++++++++++++++++++++++++++++++++++++++++++++ error: aborting due to 2 previous errors