]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/removed-syntax-closure-lifetime.stderr
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / parser / removed-syntax-closure-lifetime.stderr
1 error: expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, `=`, or `>`, found `/`
2   --> $DIR/removed-syntax-closure-lifetime.rs:1:22
3    |
4 LL | type closure = Box<lt/fn()>;
5    |                      ^ expected one of 9 possible tokens
6    |
7 help: you might have meant to end the type parameters here
8    |
9 LL | type closure = Box<lt>/fn()>;
10    |                      +
11
12 error: aborting due to previous error
13