summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-62881.stderr
blob: 87be69baadda57a9b9686c9f15471126c2e3af33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: this file contains an unclosed delimiter
  --> $DIR/issue-62881.rs:6:52
   |
LL | fn f() -> isize { fn f() -> isize {} pub f<
   |                 - unclosed delimiter
...
LL |
   |                                                    ^

error: missing `fn` or `struct` for function or struct definition
  --> $DIR/issue-62881.rs:3:41
   |
LL | fn f() -> isize { fn f() -> isize {} pub f<
   |                                         ^

error[E0308]: mismatched types
  --> $DIR/issue-62881.rs:3:29
   |
LL | fn f() -> isize { fn f() -> isize {} pub f<
   |                      -      ^^^^^ expected `isize`, found `()`
   |                      |
   |                      implicitly returns `()` as its body has no tail or `return` expression

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0308`.