about summary refs log tree commit diff
path: root/tests/ui/const-generics/issues/issue-90455.stderr
blob: 1fcc08db579beec84d75524e2a02f929887c0268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: unconstrained generic constant
  --> $DIR/issue-90455.rs:6:8
   |
LL |     n: [u64; num_limbs(N)],
   |        ^^^^^^^^^^^^^^^^^^^
   |
help: try adding a `where` bound
   |
LL | struct FieldElement<const N: &'static str> where [(); num_limbs(N)]: {
   |                                            +++++++++++++++++++++++++

error: aborting due to 1 previous error