]>
Commit | Line | Data |
---|---|---|
29967ef6 | 1 | error: generic parameters may not be used in const operations |
5869c6ff | 2 | --> $DIR/issue-62456.rs:6:20 |
1b1a35ee XL |
3 | | |
4 | LL | let _ = [0u64; N + 1]; | |
29967ef6 | 5 | | ^ cannot perform const operation using `N` |
1b1a35ee | 6 | | |
29967ef6 | 7 | = help: const parameters may only be used as standalone arguments, i.e. `N` |
fc512014 | 8 | = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions |
1b1a35ee XL |
9 | |
10 | error: aborting due to previous error | |
11 |