]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/removed-syntax-closure-lifetime.stderr
Auto merge of #100678 - GuillaumeGomez:improve-rustdoc-json-tests, r=aDotInTheVoid
[rust.git] / src / test / 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