summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/removed-syntax-closure-lifetime.rs
blob: e807a179473c4ecd2ebb63a53123d0d6f36fb42f (plain)
1
2
type closure = Box<lt/fn()>;
//~^ ERROR expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, `=`, or `>`, found `/`