]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/inference/issue-83606.stderr
Rollup merge of #107348 - lcnr:project-solve-new, r=compiler-errors
[rust.git] / tests / ui / inference / issue-83606.stderr
index f5c84f960641a077f78d561541315f2c39c7abd1..f2ee8692e38a696d111c52ed9659972a7236d3ce 100644 (file)
@@ -1,4 +1,4 @@
-error[E0282]: type annotations needed for `[usize; _]`
+error[E0282]: type annotations needed for `[usize; N]`
   --> $DIR/issue-83606.rs:8:9
    |
 LL |     let _ = foo("foo");
@@ -6,7 +6,7 @@ LL |     let _ = foo("foo");
    |
 help: consider giving this pattern a type, where the the value of const parameter `N` is specified
    |
-LL |     let _: [usize; _] = foo("foo");
+LL |     let _: [usize; N] = foo("foo");
    |          ++++++++++++
 
 error: aborting due to previous error