diff options
| author | est31 <MTest31@outlook.com> | 2024-11-10 20:58:00 +0100 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2025-04-18 14:21:14 +0200 |
| commit | 2e61af2fca192e155cc99ddd90ec534fdc70cf98 (patch) | |
| tree | 6fd74d26a16d3807a4676900d0269522db985ad7 /tests/ui/mir | |
| parent | 1f76d219c906f0112bb1872f33aa977164c53fa6 (diff) | |
| download | rust-2e61af2fca192e155cc99ddd90ec534fdc70cf98.tar.gz rust-2e61af2fca192e155cc99ddd90ec534fdc70cf98.zip | |
Stabilize let chains on edition 2024
Diffstat (limited to 'tests/ui/mir')
| -rw-r--r-- | tests/ui/mir/mir_let_chains_drop_order.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/mir/mir_let_chains_drop_order.rs b/tests/ui/mir/mir_let_chains_drop_order.rs index 8991c6db7b9..4794f3427dd 100644 --- a/tests/ui/mir/mir_let_chains_drop_order.rs +++ b/tests/ui/mir/mir_let_chains_drop_order.rs @@ -6,7 +6,7 @@ // See `mir_drop_order.rs` for more information -#![feature(let_chains)] +#![cfg_attr(edition2021, feature(let_chains))] #![allow(irrefutable_let_patterns)] use std::cell::RefCell; |
