]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const_evaluatable/no_where_clause.stderr
Rollup merge of #80385 - camelid:clarify-cell-replace-docs, r=Mark-Simulacrum
[rust.git] / src / test / ui / const_evaluatable / 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 [u8; complex_maths(N)]: Sized`
8   --> $DIR/no_where_clause.rs:10:12
9    |
10 LL |   b: [f32; complex_maths(N)],
11    |            ^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14