2020-11-21 15:44:06 +01:00
|
|
|
error: expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, `=`, or `>`, found `/`
|
2019-01-06 18:33:05 +03:00
|
|
|
--> $DIR/removed-syntax-closure-lifetime.rs:1:22
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
|
|
|
|
LL | type closure = Box<lt/fn()>;
|
2020-11-21 15:44:06 +01:00
|
|
|
| ^ expected one of 9 possible tokens
|
2022-03-01 19:40:48 +00:00
|
|
|
|
|
|
|
|
|
help: you might have meant to end the type parameters here
|
|
|
|
|
|
|
|
|
|
|
LL | type closure = Box<lt>/fn()>;
|
|
|
|
|
| +
|
2018-10-20 23:36:17 +03:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-10-20 23:36:17 +03:00
|
|
|
|