]> git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/occurs-check/unify-n-nplusone.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / const-generics / occurs-check / unify-n-nplusone.stderr
1 error: constant expression depends on a generic parameter
2 --> $DIR/unify-n-nplusone.rs:6:44
3 |
4 LL | fn bind<const N: usize>(value: [u8; N]) -> [u8; N + 1] {
5 | ^^^^^^^^^^^
6 |
7 = note: this may fail depending on what value the parameter takes
8
9 error: aborting due to previous error
10