]> git.proxmox.com Git - rustc.git/blame - src/test/ui/inference/issue-83606.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / inference / issue-83606.stderr
CommitLineData
cdc7bbd5 1error[E0282]: type annotations needed for `[usize; _]`
923072b8 2 --> $DIR/issue-83606.rs:8:9
cdc7bbd5 3 |
923072b8
FG
4LL | let _ = foo("foo");
5 | ^
6 |
7help: consider giving this pattern a type, where the the value of const parameter `N` is specified
8 |
9LL | let _: [usize; _] = foo("foo");
10 | ++++++++++++
cdc7bbd5
XL
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0282`.