]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/error-codes/E0401.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / error-codes / E0401.stderr
index 8b1d4e6c07cebead561ddc337abc33c3643d7186..81715621dd921d07e061c56cb93b3266732e9ce2 100644 (file)
@@ -36,7 +36,12 @@ error[E0282]: type annotations needed
   --> $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: consider specifying the generic arguments
+   |
+LL |     bfnr::<U, V, W>(x);
+   |         +++++++++++
 
 error: aborting due to 4 previous errors