]> git.lizzy.rs Git - rust.git/blob - tests/ui/inference/issue-83606.stderr
Rollup merge of #106927 - Ezrashaw:e0606-make-machine-applicable, r=estebank
[rust.git] / tests / ui / inference / issue-83606.stderr
1 error[E0282]: type annotations needed for `[usize; N]`
2   --> $DIR/issue-83606.rs:8:9
3    |
4 LL |     let _ = foo("foo");
5    |         ^
6    |
7 help: consider giving this pattern a type, where the the value of const parameter `N` is specified
8    |
9 LL |     let _: [usize; N] = foo("foo");
10    |          ++++++++++++
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0282`.