fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
587 B23 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 |     fn b(self>
13   |              ^ expected `;` or `{`
14
15error[E0412]: cannot find type `A` in this scope
16  --> $DIR/issue-58856-1.rs:1:6
17   |
18LL | impl A {
19   |      ^ not found in this scope
20
21error: aborting due to 3 previous errors
22
23For more information about this error, try `rustc --explain E0412`.