2022-12-01 11:54:50 -06:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/expr-with-block-err.rs:4:13
|
|
|
|
|
|
|
|
|
LL | const { 2 } - const { 1 };
|
|
|
|
| ^ expected `()`, found integer
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-12-01 11:54:50 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|