fork/rust

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

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

1.41.0
865 B26 linesraw
1error: this file contains an un-closed delimiter
2  --> $DIR/issue-62881.rs:6:53
3   |
4LL | fn f() -> isize { fn f() -> isize {} pub f<
5   |                 - un-closed delimiter
6...
7LL |
8   |                                                     ^
9
10error: missing `fn` or `struct` for function or struct definition
11  --> $DIR/issue-62881.rs:3:41
12   |
13LL | fn f() -> isize { fn f() -> isize {} pub f<
14   |                                         ^
15
16error[E0308]: mismatched types
17  --> $DIR/issue-62881.rs:3:29
18   |
19LL | fn f() -> isize { fn f() -> isize {} pub f<
20   |                      -      ^^^^^ expected `isize`, found `()`
21   |                      |
22   |                      implicitly returns `()` as its body has no tail or `return` expression
23
24error: aborting due to 3 previous errors
25
26For more information about this error, try `rustc --explain E0308`.