]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/const-generics/cannot-infer-const-args.stderr
Fix rebase fallout
[rust.git] / src / test / ui / const-generics / cannot-infer-const-args.stderr
index 5528c2fca6a3ba43e3ddba53fc864af54b789953..544cd05cdbebf9cb7a40964eb2fbfb6b01c02ff9 100644 (file)
@@ -8,7 +8,7 @@ error[E0282]: type annotations needed
   --> $DIR/cannot-infer-const-args.rs:9:5
    |
 LL |     foo();
-   |     ^^^ cannot infer type for `fn() -> usize {foo::<_>}`
+   |     ^^^ cannot infer type for `fn() -> usize {foo::<_: usize>}`
 
 error: aborting due to previous error