diff options
Diffstat (limited to 'src/test/ui/parser/removed-syntax-closure-lifetime.rs')
-rw-r--r-- | src/test/ui/parser/removed-syntax-closure-lifetime.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/parser/removed-syntax-closure-lifetime.rs b/src/test/ui/parser/removed-syntax-closure-lifetime.rs new file mode 100644 index 000000000..e807a1794 --- /dev/null +++ b/src/test/ui/parser/removed-syntax-closure-lifetime.rs @@ -0,0 +1,2 @@ +type closure = Box<lt/fn()>; +//~^ ERROR expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, `=`, or `>`, found `/` |