rust/tests/ui/parser/removed-syntax-closure-lifetime.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
406 B
Plaintext
Raw Normal View History

2020-11-21 15:44:06 +01:00
error: expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, `=`, or `>`, found `/`
--> $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
|
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
error: aborting due to previous error