fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
645 B18 linesraw
1error: expected expression, found `;`
2  --> $DIR/issue-109237.rs:2:12
3   |
4LL |     () => {;};
5   |            ^ expected expression
6...
7LL |     let _ = statement!();
8   |             ------------ in this macro invocation
9   |
10   = note: the macro call doesn't expand to an expression, but it can expand to a statement
11   = note: this error originates in the macro `statement` (in Nightly builds, run with -Z macro-backtrace for more info)
12help: surround the macro invocation with `{}` to interpret the expansion as a statement
13   |
14LL |     let _ = { statement!(); };
15   |             ~~~~~~~~~~~~~~~~~
16
17error: aborting due to previous error
18