summaryrefslogtreecommitdiffstats
path: root/tests/ui/generic-const-items/evaluatable-bounds.unconstrained.stderr
blob: 930080f7c378d8b7d38bec4b0d478f777bd01cde (plain)
1
2
3
4
5
6
7
8
9
10
error: unconstrained generic constant
  --> $DIR/evaluatable-bounds.rs:16:5
   |
LL |     const ARRAY: [i32; Self::LEN];
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: try adding a `where` bound using this expression: `where [(); Self::LEN]:`

error: aborting due to previous error