diff options
| author | Ding Xiang Fei <dingxiangfei2009@protonmail.ch> | 2024-10-21 04:47:02 +0800 |
|---|---|---|
| committer | Ding Xiang Fei <dingxiangfei2009@protonmail.ch> | 2024-10-24 01:56:08 +0800 |
| commit | 0689b2139fa90aeb6f42930ee783cc2f322cd265 (patch) | |
| tree | e9ecb27f433fd2e4fc1aec1949351d49f9c98f61 /tests/ui/lifetimes/tail-expr-in-nested-expr.rs | |
| parent | be01dabfefd2daa4574b974f571c7852085d60cb (diff) | |
| download | rust-0689b2139fa90aeb6f42930ee783cc2f322cd265.tar.gz rust-0689b2139fa90aeb6f42930ee783cc2f322cd265.zip | |
stabilize shorter-tail-lifetimes
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 |
