]> git.proxmox.com Git - rustc.git/blob - tests/ui/parser/issues/issue-62881.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / parser / issues / issue-62881.stderr
1 error: this file contains an unclosed delimiter
2 --> $DIR/issue-62881.rs:6:52
3 |
4 LL | fn f() -> isize { fn f() -> isize {} pub f<
5 | - unclosed delimiter
6 ...
7 LL |
8 | ^
9
10 error: missing `fn` or `struct` for function or struct definition
11 --> $DIR/issue-62881.rs:3:41
12 |
13 LL | fn f() -> isize { fn f() -> isize {} pub f<
14 | ^
15
16 error[E0308]: mismatched types
17 --> $DIR/issue-62881.rs:3:29
18 |
19 LL | 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
24 error: aborting due to 3 previous errors
25
26 For more information about this error, try `rustc --explain E0308`.