rust/tests/ui/parser/removed-syntax-closure-lifetime.rs
2023-01-11 09:32:08 +00:00

2 lines
115 B
Rust

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