]> git.lizzy.rs Git - rust.git/blob - tests/ui/inline-const/expr-with-block-err.stderr
Rollup merge of #107204 - euclio:assoc-const-suggestion, r=petrochenkov
[rust.git] / tests / ui / inline-const / expr-with-block-err.stderr
1 error[E0308]: mismatched types
2   --> $DIR/expr-with-block-err.rs:4:13
3    |
4 LL |     const { 2 } - const { 1 };
5    |             ^ expected `()`, found integer
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0308`.