File tree 5 files changed +7
-10
lines changed
5 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 1
1
//@ check-pass
2
-
3
- #! [ feature ( let_chains ) ]
2
+ //@ edition:2024
3
+ //@ compile-flags: -Zunstable-options
4
4
5
5
#[ cfg( FALSE ) ]
6
6
fn foo ( ) {
Original file line number Diff line number Diff line change 13
13
#![ feature( deref_patterns) ]
14
14
#![ feature( explicit_tail_calls) ]
15
15
#![ feature( gen_blocks) ]
16
- #![ feature( let_chains) ]
17
16
#![ feature( more_qualified_paths) ]
18
17
#![ feature( never_patterns) ]
19
18
#![ feature( never_type) ]
Original file line number Diff line number Diff line change 14
14
#![feature(deref_patterns)]
15
15
#![feature(explicit_tail_calls)]
16
16
#![feature(gen_blocks)]
17
- #![feature(let_chains)]
18
17
#![feature(more_qualified_paths)]
19
18
#![feature(never_patterns)]
20
19
#![feature(never_type)]
Original file line number Diff line number Diff line change 1
- //@ compile-flags: -Zunpretty=expanded
1
+ //@ compile-flags: -Zunpretty=expanded -Zunstable-options
2
+ //@ edition:2024
2
3
//@ check-pass
3
4
4
5
// This test covers the AST pretty-printer's insertion of parentheses in some
7
8
// Rust syntax. We also test negative cases: the pretty-printer should not be
8
9
// synthesizing parentheses indiscriminately; only where necessary.
9
10
10
- #![ feature( let_chains) ]
11
11
#![ feature( if_let_guard) ]
12
12
13
13
macro_rules! expr {
Original file line number Diff line number Diff line change 1
1
#![feature(prelude_import)]
2
- #![no_std]
3
- //@ compile-flags: -Zunpretty=expanded
2
+ //@ compile-flags: -Zunpretty=expanded -Zunstable-options
3
+ //@ edition:2024
4
4
//@ check-pass
5
5
6
6
// This test covers the AST pretty-printer's insertion of parentheses in some
9
9
// Rust syntax. We also test negative cases: the pretty-printer should not be
10
10
// synthesizing parentheses indiscriminately; only where necessary.
11
11
12
- #![feature(let_chains)]
13
12
#![feature(if_let_guard)]
14
13
#[prelude_import]
15
- use :: std::prelude::rust_2015 ::*;
14
+ use std::prelude::rust_2024 ::*;
16
15
#[macro_use]
17
16
extern crate std;
18
17
You can’t perform that action at this time.
0 commit comments