rust/tests/ui/inline-const/expr-with-block-err.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
269 B
Plaintext
Raw Normal View History

error[E0308]: mismatched types
2024-04-19 10:54:41 -05:00
--> $DIR/expr-with-block-err.rs:2:13
|
LL | const { 2 } - const { 1 };
| ^ expected `()`, found integer
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.