summary refs log tree commit diff
path: root/src/test/ui/parser/issues/issue-84148-1.stderr
blob: 77f0896e9c155d54462a4c5e416b14eb99b1c304 (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