]>
Commit | Line | Data |
---|---|---|
cdc7bbd5 | 1 | error[E0282]: type annotations needed for `[usize; _]` |
923072b8 | 2 | --> $DIR/issue-83606.rs:8:9 |
cdc7bbd5 | 3 | | |
923072b8 FG |
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; _] = foo("foo"); | |
10 | | ++++++++++++ | |
cdc7bbd5 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0282`. |