]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/issues/issue-72819-generic-in-const-eval.min.stderr
Update tests to remove old numeric constants
[rust.git] / src / test / ui / const-generics / issues / issue-72819-generic-in-const-eval.min.stderr
1 error: generic parameters may not be used in const operations
2   --> $DIR/issue-72819-generic-in-const-eval.rs:9:17
3    |
4 LL | where Assert::<{N < usize::MAX / 2}>: IsTrue,
5    |                 ^ cannot perform const operation using `N`
6    |
7    = help: const parameters may only be used as standalone arguments, i.e. `N`
8    = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions
9
10 error: aborting due to previous error
11