]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/issues/issue-62456.min.stderr
Replace "non trivial" with "non-trivial"
[rust.git] / src / test / ui / const-generics / issues / issue-62456.min.stderr
1 error: generic parameters must not be used inside of non-trivial constant values
2   --> $DIR/issue-62456.rs:7:20
3    |
4 LL |     let _ = [0u64; N + 1];
5    |                    ^ non-trivial anonymous constants must not depend on the parameter `N`
6    |
7    = help: it is currently only allowed to use either `N` or `{ N }` as generic constants
8
9 error: aborting due to previous error
10