]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-84148-1.stderr
Rollup merge of #91630 - GuillaumeGomez:missing-whitespace, r=notriddle
[rust.git] / src / test / ui / parser / issues / issue-84148-1.stderr
1 error: expected parameter name, found `?`
2   --> $DIR/issue-84148-1.rs:1:14
3    |
4 LL | fn f(t:for<>t?)
5    |              ^ expected parameter name
6
7 error: expected one of `(`, `)`, `+`, `,`, `::`, or `<`, found `?`
8   --> $DIR/issue-84148-1.rs:1:14
9    |
10 LL | fn f(t:for<>t?)
11    |              ^
12    |              |
13    |              expected one of `(`, `)`, `+`, `,`, `::`, or `<`
14    |              help: missing `,`
15
16 error: expected one of `->`, `where`, or `{`, found `<eof>`
17   --> $DIR/issue-84148-1.rs:1:15
18    |
19 LL | fn f(t:for<>t?)
20    |               ^ expected one of `->`, `where`, or `{`
21
22 error: aborting due to 3 previous errors
23