From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/consts/control-flow/drop-precise.rs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/test/ui/consts/control-flow/drop-precise.rs (limited to 'src/test/ui/consts/control-flow/drop-precise.rs') diff --git a/src/test/ui/consts/control-flow/drop-precise.rs b/src/test/ui/consts/control-flow/drop-precise.rs deleted file mode 100644 index 4ecc5ef78..000000000 --- a/src/test/ui/consts/control-flow/drop-precise.rs +++ /dev/null @@ -1,18 +0,0 @@ -// run-pass -// gate-test-const_precise_live_drops - -#![feature(const_precise_live_drops)] - -const _: Vec = { - let vec_tuple = (Vec::new(),); - vec_tuple.0 -}; - -const _: Vec = { - let x: Result<_, Vec> = Ok(Vec::new()); - match x { - Ok(x) | Err(x) => x, - } -}; - -fn main() {} -- cgit v1.2.3