]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/const_evaluatable/no_where_clause.stderr
Auto merge of #83339 - Aaron1011:deep-recollect, r=petrochenkov
[rust.git] / src / test / ui / const_evaluatable / no_where_clause.stderr
index 84a65f0d1d29bd8bdcda5a688ddc2cfbc2855ed0..3e5c2f5cad1dfff3a3c08fc5bea2310d7b7618fb 100644 (file)
@@ -4,11 +4,7 @@ error: unconstrained generic constant
 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)],
-   |            ^^^^^^^^^^^^^^^^
+   = help: try adding a `where` bound using this expression: `where [(); complex_maths(N)]:`
 
 error: aborting due to previous error