]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issues/issue-83249.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[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`.