fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
705 B29 linesraw
1error: expected one of `)`, `,`, or `:`, found `>`
2  --> $DIR/issue-58856-1.rs:3:14
3   |
4LL |     fn b(self>
5   |         -    ^ help: `)` may belong here
6   |         |
7   |         unclosed delimiter
8
9error: expected `;` or `{`, found `>`
10  --> $DIR/issue-58856-1.rs:3:14
11   |
12LL | impl A {
13   |        - while parsing this item list starting here
14LL |
15LL |     fn b(self>
16   |              ^ expected `;` or `{`
17...
18LL | }
19   | - the item list ends here
20
21error[E0412]: cannot find type `A` in this scope
22  --> $DIR/issue-58856-1.rs:1:6
23   |
24LL | impl A {
25   |      ^ not found in this scope
26
27error: aborting due to 3 previous errors
28
29For more information about this error, try `rustc --explain E0412`.