--> $DIR/E0401.rs:11:5
|
LL | bfnr(x);
- | ^^^^ cannot infer type for type parameter `U` declared on the function `bfnr`
+ | ^^^^ cannot infer type of the type parameter `U` declared on the function `bfnr`
|
-help: type parameter declared here
- --> $DIR/E0401.rs:4:13
+help: consider specifying the generic arguments
|
-LL | fn bfnr<U, V: Baz<U>, W: Fn()>(y: T) {
- | ^
+LL | bfnr::<U, V, W>(x);
+ | +++++++++++
error: aborting due to 4 previous errors