fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: expected `while`, `for`, `loop` or `{` after a label 2 --> $DIR/issue-93282.rs:2:9 3 | 4LL | f<'a,> 5 | ^ expected `while`, `for`, `loop` or `{` after a label 6 | 7help: add `'` to close the char literal 8 | 9LL | f<'a',> 10 | + 11 12error: expected one of `.`, `:`, `;`, `?`, `for`, `loop`, `while`, `}`, or an operator, found `,` 13 --> $DIR/issue-93282.rs:2:9 14 | 15LL | f<'a,> 16 | ^ expected one of 9 possible tokens 17 | 18help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments 19 | 20LL | f::<'a,> 21 | ++ 22 23error: expected `while`, `for`, `loop` or `{` after a label 24 --> $DIR/issue-93282.rs:13:11 25 | 26LL | bar('y, x); 27 | ^ expected `while`, `for`, `loop` or `{` after a label 28 | 29help: add `'` to close the char literal 30 | 31LL | bar('y', x); 32 | + 33 34error[E0308]: mismatched types 35 --> $DIR/issue-93282.rs:13:9 36 | 37LL | bar('y, x); 38 | --- ^^ expected `usize`, found `char` 39 | | 40 | arguments to this function are incorrect 41 | 42note: function defined here 43 --> $DIR/issue-93282.rs:7:4 44 | 45LL | fn bar(a: usize, b: usize) -> usize { 46 | ^^^ -------- 47 48error: aborting due to 4 previous errors 49 50For more information about this error, try `rustc --explain E0308`.