fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error: macros that expand to items must be delimited with braces or followed by a semicolon 2 --> $DIR/macros-no-semicolon-items.rs:1:17 3 | 4LL | macro_rules! foo() 5 | ^^ 6 | 7help: change the delimiters to curly braces 8 | 9LL | macro_rules! foo {} 10 | ^^ 11help: add a semicolon 12 | 13LL | macro_rules! foo(); 14 | ^ 15 16error: macros that expand to items must be delimited with braces or followed by a semicolon 17 --> $DIR/macros-no-semicolon-items.rs:8:5 18 | 19LL | bar!( 20 | _____^ 21LL | | blah 22LL | | blah 23LL | | blah 24LL | | ) 25 | |_^ 26 | 27help: change the delimiters to curly braces 28 | 29LL | bar! { 30LL | blah 31LL | blah 32LL | blah 33LL | } 34 | 35help: add a semicolon 36 | 37LL | ); 38 | ^ 39 40error: unexpected end of macro invocation 41 --> $DIR/macros-no-semicolon-items.rs:1:1 42 | 43LL | macro_rules! foo() 44 | ^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments 45 46error: aborting due to 3 previous errors 47