about summary refs log tree commit diff
path: root/tests/ui/fn/bad-turbofish-hints-issue-121901.stderr
blob: aacb326f8a22a5d8bb712bb8fb74305fcad1d556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
error: expected one of `+`, `,`, or `>`, found `)`
  --> $DIR/bad-turbofish-hints-issue-121901.rs:3:40
   |
LL | type One = for<'a> fn(Box<dyn Send + 'a);
   |                                        ^ expected one of `+`, `,`, or `>`
   |
help: you might have meant to end the type parameters here
   |
LL | type One = for<'a> fn(Box<dyn Send + 'a>);
   |                                        +

error: unmatched angle bracket
  --> $DIR/bad-turbofish-hints-issue-121901.rs:5:41
   |
LL | type Two = for<'a> fn(Box<dyn Send + 'a>>);
   |                                         ^
   |
help: remove extra angle bracket
   |
LL - type Two = for<'a> fn(Box<dyn Send + 'a>>);
LL + type Two = for<'a> fn(Box<dyn Send + 'a>);
   |

error: aborting due to 2 previous errors