Skip to content

Commit

Permalink
Remove let_chains feature gate from some places in the testsuite
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Nov 10, 2024
1 parent e4e0f0b commit 79e1519
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions tests/ui/expr/if/attrs/let-chains-attr.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//@ check-pass

#![feature(let_chains)]
//@ edition:2024
//@ compile-flags: -Zunstable-options

#[cfg(FALSE)]
fn foo() {
Expand Down
1 change: 0 additions & 1 deletion tests/ui/unpretty/expanded-exhaustive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#![feature(deref_patterns)]
#![feature(explicit_tail_calls)]
#![feature(gen_blocks)]
#![feature(let_chains)]
#![feature(more_qualified_paths)]
#![feature(never_patterns)]
#![feature(never_type)]
Expand Down
1 change: 0 additions & 1 deletion tests/ui/unpretty/expanded-exhaustive.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#![feature(deref_patterns)]
#![feature(explicit_tail_calls)]
#![feature(gen_blocks)]
#![feature(let_chains)]
#![feature(more_qualified_paths)]
#![feature(never_patterns)]
#![feature(never_type)]
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/unpretty/expanded-interpolation.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//@ compile-flags: -Zunpretty=expanded
//@ compile-flags: -Zunpretty=expanded -Zunstable-options
//@ edition:2024
//@ check-pass

// This test covers the AST pretty-printer's insertion of parentheses in some
Expand All @@ -7,7 +8,6 @@
// Rust syntax. We also test negative cases: the pretty-printer should not be
// synthesizing parentheses indiscriminately; only where necessary.

#![feature(let_chains)]
#![feature(if_let_guard)]

macro_rules! expr {
Expand Down
7 changes: 3 additions & 4 deletions tests/ui/unpretty/expanded-interpolation.stdout
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![feature(prelude_import)]
#![no_std]
//@ compile-flags: -Zunpretty=expanded
//@ compile-flags: -Zunpretty=expanded -Zunstable-options
//@ edition:2024
//@ check-pass

// This test covers the AST pretty-printer's insertion of parentheses in some
Expand All @@ -9,10 +9,9 @@
// Rust syntax. We also test negative cases: the pretty-printer should not be
// synthesizing parentheses indiscriminately; only where necessary.

#![feature(let_chains)]
#![feature(if_let_guard)]
#[prelude_import]
use ::std::prelude::rust_2015::*;
use std::prelude::rust_2024::*;
#[macro_use]
extern crate std;

Expand Down

0 comments on commit 79e1519

Please sign in to comment.