]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/issues/issue-72819-generic-in-const-eval.min.stderr
Rollup merge of #77646 - fusion-engineering-forks:use-static-mutex, r=dtolnay
[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_value() / 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
9 error: aborting due to previous error
10