summary refs log tree commit diff
path: root/tests/ui/lifetimes/tail-expr-in-nested-expr.rs
diff options
context:
space:
mode:
authorDing Xiang Fei <dingxiangfei2009@protonmail.ch>2024-10-21 04:47:02 +0800
committerDing Xiang Fei <dingxiangfei2009@protonmail.ch>2024-10-24 01:56:08 +0800
commit0689b2139fa90aeb6f42930ee783cc2f322cd265 (patch)
treee9ecb27f433fd2e4fc1aec1949351d49f9c98f61 /tests/ui/lifetimes/tail-expr-in-nested-expr.rs
parentbe01dabfefd2daa4574b974f571c7852085d60cb (diff)
downloadrust-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.rs2
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