Closed
Description
Advantage
You can't use the turbofish with parameter impls which makes it strictly less powerful as far as I can tell. This lint should only apply to public items.
Name: impl_trait_in_param_of_pub_fn
.
Category
style (or potentially pedantic)
Example
fn foo(t: impl Trait) {}
Could be written as:
fn foo<T: Trait>(t: T) {}