rust/tests/ui/parser/removed-syntax/removed-syntax-closure-life...

3 lines
115 B
Rust

type closure = Box<lt/fn()>;
//~^ ERROR expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, `=`, or `>`, found `/`