fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
682 B22 linesraw
1warning: expected `;`, found keyword `let`
2  --> $DIR/missing-semicolon-warning.rs:6:12
3   |
4LL |         $( let x = $e1 )*;
5   |            ^^^
6...
7LL | fn main() { m!(0, 0; 0, 0); }
8   |             --------------- in this macro invocation
9   |
10   = note: this was erroneously allowed and will become a hard error in a future release
11
12warning: expected `;`, found `println`
13  --> $DIR/missing-semicolon-warning.rs:7:12
14   |
15LL |         $( println!("{}", $e2) )*;
16   |            ^^^^^^^
17...
18LL | fn main() { m!(0, 0; 0, 0); }
19   |             --------------- in this macro invocation
20   |
21   = note: this was erroneously allowed and will become a hard error in a future release
22