diff options
Diffstat (limited to 'src/test/ui/closures/closure_promotion.rs')
-rw-r--r-- | src/test/ui/closures/closure_promotion.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/ui/closures/closure_promotion.rs b/src/test/ui/closures/closure_promotion.rs index db36985af..47a8fc090 100644 --- a/src/test/ui/closures/closure_promotion.rs +++ b/src/test/ui/closures/closure_promotion.rs @@ -1,7 +1,5 @@ // build-pass (FIXME(62277): could be check-pass?) -#![allow(const_err)] - fn main() { let x: &'static _ = &|| { let z = 3; z }; } |