]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-58856-1.stderr
Auto merge of #81156 - DrMeepster:read_buf, r=joshtriplett
[rust.git] / src / test / ui / parser / issues / issue-58856-1.stderr
1 error: expected one of `)`, `,`, or `:`, found `>`
2   --> $DIR/issue-58856-1.rs:3:9
3    |
4 LL |     fn b(self>
5    |         ^    ^ help: `)` may belong here
6    |         |
7    |         unclosed delimiter
8
9 error: expected one of `->`, `where`, or `{`, found `>`
10   --> $DIR/issue-58856-1.rs:3:14
11    |
12 LL | impl A {
13    |        - while parsing this item list starting here
14 LL |
15 LL |     fn b(self>
16    |              ^ expected one of `->`, `where`, or `{`
17 ...
18 LL | }
19    | - the item list ends here
20
21 error[E0412]: cannot find type `A` in this scope
22   --> $DIR/issue-58856-1.rs:1:6
23    |
24 LL | impl A {
25    |      ^ not found in this scope
26
27 error: aborting due to 3 previous errors
28
29 For more information about this error, try `rustc --explain E0412`.