rust/tests/ui/const-generics/generic_const_exprs/no_where_clause.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
285 B
Plaintext
Raw Normal View History

error: unconstrained generic constant
--> $DIR/no_where_clause.rs:10:6
|
LL | b: [f32; complex_maths(N)],
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2021-03-02 09:47:06 -06:00
= help: try adding a `where` bound using this expression: `where [(); complex_maths(N)]:`
error: aborting due to previous error