]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issues/issue-83249.stderr
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / ui / const-generics / issues / issue-83249.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/issue-83249.rs:19:9
3    |
4 LL |     let _ = foo([0; 1]);
5    |         ^
6    |
7 help: consider giving this pattern a type
8    |
9 LL |     let _: /* Type */ = foo([0; 1]);
10    |          ++++++++++++
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0282`.