mirror of https://github.com/rust-lang/rust.git
26 lines
770 B
Plaintext
26 lines
770 B
Plaintext
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
|
|
|