fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: expected identifier, found reserved identifier `_` 2 --> $DIR/issue-62895.rs:4:5 3 | 4LL | mod _ { 5 | ^ expected identifier, found reserved identifier 6 7error: expected identifier, found reserved identifier `_` 8 --> $DIR/issue-62895.rs:6:5 9 | 10LL | mod _ { 11 | ^ expected identifier, found reserved identifier 12 13error: missing `fn` for function definition 14 --> $DIR/issue-62895.rs:7:4 15 | 16LL | pub g() -> is 17 | ^^^^ 18help: add `fn` here to parse `g` as a public function 19 | 20LL | pub fn g() -> is 21 | ^^ 22 23error: expected item, found `;` 24 --> $DIR/issue-62895.rs:10:9 25 | 26LL | (), w20); 27 | ^ help: remove this semicolon 28 29error[E0412]: cannot find type `isizee` in this scope 30 --> $DIR/issue-62895.rs:5:15 31 | 32LL | pub fn g() -> isizee { 33 | ^^^^^^ help: a builtin type with a similar name exists: `isize` 34 35error[E0308]: mismatched types 36 --> $DIR/issue-62895.rs:3:11 37 | 38LL | fn v() -> isize { 39 | - ^^^^^ expected isize, found () 40 | | 41 | implicitly returns `()` as its body has no tail or `return` expression 42 | 43 = note: expected type `isize` 44 found type `()` 45 46error: aborting due to 6 previous errors 47 48Some errors have detailed explanations: E0308, E0412. 49For more information about an error, try `rustc --explain E0308`.