File tree Expand file tree Collapse file tree 5 files changed +4
-8
lines changed Expand file tree Collapse file tree 5 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 11//@ check-pass
2-
3- #![ feature( let_chains) ]
2+ //@ edition:2024
43
54#[ cfg( FALSE ) ]
65fn foo ( ) {
Original file line number Diff line number Diff line change 1212#![ feature( dyn_star) ]
1313#![ feature( explicit_tail_calls) ]
1414#![ feature( gen_blocks) ]
15- #![ feature( let_chains) ]
1615#![ feature( more_qualified_paths) ]
1716#![ feature( never_patterns) ]
1817#![ feature( never_type) ]
Original file line number Diff line number Diff line change 1313#![feature(dyn_star)]
1414#![feature(explicit_tail_calls)]
1515#![feature(gen_blocks)]
16- #![feature(let_chains)]
1716#![feature(more_qualified_paths)]
1817#![feature(never_patterns)]
1918#![feature(never_type)]
Original file line number Diff line number Diff line change 11//@ compile-flags: -Zunpretty=expanded
2+ //@ edition:2024
23//@ check-pass
34
45// This test covers the AST pretty-printer's insertion of parentheses in some
78// Rust syntax. We also test negative cases: the pretty-printer should not be
89// synthesizing parentheses indiscriminately; only where necessary.
910
10- #![ feature( let_chains) ]
1111#![ feature( if_let_guard) ]
1212
1313macro_rules! expr {
Original file line number Diff line number Diff line change 11#![feature(prelude_import)]
2- #![no_std]
32//@ compile-flags: -Zunpretty=expanded
3+ //@ edition:2024
44//@ check-pass
55
66// This test covers the AST pretty-printer's insertion of parentheses in some
99// Rust syntax. We also test negative cases: the pretty-printer should not be
1010// synthesizing parentheses indiscriminately; only where necessary.
1111
12- #![feature(let_chains)]
1312#![feature(if_let_guard)]
1413#[prelude_import]
15- use :: std::prelude::rust_2015 ::*;
14+ use std::prelude::rust_2024 ::*;
1615#[macro_use]
1716extern crate std;
1817
You can’t perform that action at this time.
0 commit comments