blob: 65100909e53d508fb33f75dbb2c6e1bc06b0d501 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: unconstrained generic constant
--> $DIR/no_where_clause.rs:10:6
|
LL | b: [f32; complex_maths(N)],
| ^^^^^^^^^^^^^^^^^^^^^^^
|
help: try adding a `where` bound using this expression: where [u8; complex_maths(N)]: Sized
--> $DIR/no_where_clause.rs:10:12
|
LL | b: [f32; complex_maths(N)],
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error
|