]> git.proxmox.com Git - rustc.git/blame - tests/ui/generic-const-items/evaluatable-bounds.unconstrained.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / generic-const-items / evaluatable-bounds.unconstrained.stderr
CommitLineData
add651ee
FG
1error: unconstrained generic constant
2 --> $DIR/evaluatable-bounds.rs:16:5
3 |
4LL | const ARRAY: [i32; Self::LEN];
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = help: try adding a `where` bound using this expression: `where [(); Self::LEN]:`
8
4b012472 9error: aborting due to 1 previous error
add651ee 10