summaryrefslogtreecommitdiffstats
path: root/tests/ui/inline-const/expr-with-block-err.stderr
blob: 6f7408f4e2a6aff3027dfb2d923880b8b51758ac (plain)
1
2
3
4
5
6
7
8
9
error[E0308]: mismatched types
  --> $DIR/expr-with-block-err.rs:4:13
   |
LL |     const { 2 } - const { 1 };
   |             ^ expected `()`, found integer

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.