Skip to content

Commit 0699298

Browse files
committed
temp
1 parent ba28c26 commit 0699298

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/mir/mir_match_guard_let_chains_drop_order.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// See `mir_drop_order.rs` for more information
88

9-
#![feature(if_let_guard)]
9+
#![cfg_attr(edition2021, feature(let_chains))]
1010
#![allow(irrefutable_let_patterns)]
1111

1212
use std::cell::RefCell;

tests/ui/rfcs/rfc-2294-if-let-guard/temporary-early-drop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
//@ [edition2024] edition: 2024
55
//@ check-pass
66

7-
#![feature(if_let_guard)]
87
#![allow(irrefutable_let_patterns)]
8+
#![cfg_attr(edition2021, feature(let_chains))]
99

1010
struct Pd;
1111

0 commit comments

Comments
 (0)