Remove let_chains feature gate from some places in the testsuite
This commit is contained in:
parent
2e61af2fca
commit
0e91190b05
5 changed files with 4 additions and 10 deletions
|
@ -1,6 +1,5 @@
|
|||
//@ check-pass
|
||||
|
||||
#![feature(let_chains)]
|
||||
//@ edition:2024
|
||||
|
||||
#[cfg(false)]
|
||||
fn foo() {
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#![feature(dyn_star)]
|
||||
#![feature(explicit_tail_calls)]
|
||||
#![feature(gen_blocks)]
|
||||
#![feature(let_chains)]
|
||||
#![feature(more_qualified_paths)]
|
||||
#![feature(never_patterns)]
|
||||
#![feature(never_type)]
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#![feature(dyn_star)]
|
||||
#![feature(explicit_tail_calls)]
|
||||
#![feature(gen_blocks)]
|
||||
#![feature(let_chains)]
|
||||
#![feature(more_qualified_paths)]
|
||||
#![feature(never_patterns)]
|
||||
#![feature(never_type)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//@ compile-flags: -Zunpretty=expanded
|
||||
//@ edition:2024
|
||||
//@ check-pass
|
||||
//@ edition: 2015
|
||||
|
||||
// This test covers the AST pretty-printer's insertion of parentheses in some
|
||||
// macro metavariable edge cases. Synthetic parentheses (i.e. not appearing in
|
||||
|
@ -8,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 {
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#![feature(prelude_import)]
|
||||
#![no_std]
|
||||
//@ compile-flags: -Zunpretty=expanded
|
||||
//@ edition:2024
|
||||
//@ check-pass
|
||||
//@ edition: 2015
|
||||
|
||||
// This test covers the AST pretty-printer's insertion of parentheses in some
|
||||
// macro metavariable edge cases. Synthetic parentheses (i.e. not appearing in
|
||||
|
@ -10,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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue