summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-58856-1.stderr
blob: 96151f3fe07fd8ae3012e6ded78b9df39d03ae07 (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
27
28
29
error: expected one of `)`, `,`, or `:`, found `>`
  --> $DIR/issue-58856-1.rs:3:9
   |
LL |     fn b(self>
   |         ^    ^ help: `)` may belong here
   |         |
   |         unclosed delimiter

error: expected one of `->`, `where`, or `{`, found `>`
  --> $DIR/issue-58856-1.rs:3:14
   |
LL | impl A {
   |        - while parsing this item list starting here
LL |
LL |     fn b(self>
   |              ^ expected one of `->`, `where`, or `{`
...
LL | }
   | - the item list ends here

error[E0412]: cannot find type `A` in this scope
  --> $DIR/issue-58856-1.rs:1:6
   |
LL | impl A {
   |      ^ not found in this scope

error: aborting due to 3 previous errors

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