]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/generic_const_exprs/no_where_clause.stderr
Rollup merge of #106524 - compiler-errors:constructor-note, r=cjgillot
[rust.git] / tests / ui / const-generics / generic_const_exprs / no_where_clause.stderr
1 error: unconstrained generic constant
2   --> $DIR/no_where_clause.rs:10:6
3    |
4 LL |   b: [f32; complex_maths(N)],
5    |      ^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: try adding a `where` bound using this expression: `where [(); complex_maths(N)]:`
8
9 error: aborting due to previous error
10