diff options
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-closure_lifetime_binder.rs')
-rw-r--r-- | src/test/ui/feature-gates/feature-gate-closure_lifetime_binder.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-closure_lifetime_binder.rs b/src/test/ui/feature-gates/feature-gate-closure_lifetime_binder.rs deleted file mode 100644 index b0b494fa3..000000000 --- a/src/test/ui/feature-gates/feature-gate-closure_lifetime_binder.rs +++ /dev/null @@ -1,8 +0,0 @@ -fn main() { - for<> || -> () {}; - //~^ ERROR `for<...>` binders for closures are experimental - for<'a> || -> () {}; - //~^ ERROR `for<...>` binders for closures are experimental - for<'a, 'b> |_: &'a ()| -> () {}; - //~^ ERROR `for<...>` binders for closures are experimental -} |