diff options
Diffstat (limited to 'tests/ui/lifetimes/tail-expr-in-nested-expr.rs')
| -rw-r--r-- | tests/ui/lifetimes/tail-expr-in-nested-expr.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/lifetimes/tail-expr-in-nested-expr.rs b/tests/ui/lifetimes/tail-expr-in-nested-expr.rs index a8989f22f4b..2ac97aff2b0 100644 --- a/tests/ui/lifetimes/tail-expr-in-nested-expr.rs +++ b/tests/ui/lifetimes/tail-expr-in-nested-expr.rs @@ -1,8 +1,6 @@ //@ edition: 2024 //@ compile-flags: -Zunstable-options -#![feature(shorter_tail_lifetimes)] - fn main() { let _ = { String::new().as_str() }.len(); //~^ ERROR temporary value dropped while borrowed |
