summary refs log tree commit diff
path: root/src/test/ui/parser/issue-84148-1.stderr
blob: 98506568d82c233519b4d7f75b908925a1bce198 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error: expected parameter name, found `?`
  --> $DIR/issue-84148-1.rs:1:14
   |
LL | fn f(t:for<>t?)
   |              ^ expected parameter name

error: expected one of `(`, `)`, `+`, `,`, `::`, or `<`, found `?`
  --> $DIR/issue-84148-1.rs:1:14
   |
LL | fn f(t:for<>t?)
   |              ^
   |              |
   |              expected one of `(`, `)`, `+`, `,`, `::`, or `<`
   |              help: missing `,`

error: expected one of `->`, `;`, `where`, or `{`, found `<eof>`
  --> $DIR/issue-84148-1.rs:1:15
   |
LL | fn f(t:for<>t?)
   |               ^ expected one of `->`, `;`, `where`, or `{`

error: aborting due to 3 previous errors