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