fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: expected one of `,`, `.`, `?`, or an operator, found `some` 2 --> $DIR/assert-trailing-junk.rs:9:18 3 | 4LL | assert!(true some extra junk, "whatever"); 5 | ^^^^ expected one of `,`, `.`, `?`, or an operator 6 7error: expected one of `,`, `.`, `?`, or an operator, found `some` 8 --> $DIR/assert-trailing-junk.rs:12:18 9 | 10LL | assert!(true some extra junk); 11 | ^^^^ expected one of `,`, `.`, `?`, or an operator 12 13error: no rules expected the token `blah` 14 --> $DIR/assert-trailing-junk.rs:15:30 15 | 16LL | assert!(true, "whatever" blah); 17 | -^^^^ no rules expected this token in macro call 18 | | 19 | help: missing comma here 20 | 21 = note: while trying to match sequence start 22 23error: unexpected string literal 24 --> $DIR/assert-trailing-junk.rs:18:18 25 | 26LL | assert!(true "whatever" blah); 27 | -^^^^^^^^^^ 28 | | 29 | help: try adding a comma 30 31error: no rules expected the token `blah` 32 --> $DIR/assert-trailing-junk.rs:18:29 33 | 34LL | assert!(true "whatever" blah); 35 | -^^^^ no rules expected this token in macro call 36 | | 37 | help: missing comma here 38 | 39 = note: while trying to match sequence start 40 41error: macro requires an expression as an argument 42 --> $DIR/assert-trailing-junk.rs:22:5 43 | 44LL | assert!(true;); 45 | ^^^^^^^^^^^^-^ 46 | | 47 | help: try removing semicolon 48 49error: unexpected string literal 50 --> $DIR/assert-trailing-junk.rs:25:27 51 | 52LL | assert!(false || true "error message"); 53 | -^^^^^^^^^^^^^^^ 54 | | 55 | help: try adding a comma 56 57error: aborting due to 7 previous errors 58