]>
Commit | Line | Data |
---|---|---|
29967ef6 | 1 | error: generic parameters may not be used in const operations |
1b1a35ee XL |
2 | --> $DIR/issue-66205.rs:8:14 |
3 | | | |
4 | LL | fact::<{ 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 |