This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +4
-10
lines changed Expand file tree Collapse file tree 5 files changed +4
-10
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
3- //@ edition: 2015
44
55// This test covers the AST pretty-printer's insertion of parentheses in some
66// macro metavariable edge cases. Synthetic parentheses (i.e. not appearing in
77// the syntax tree) need to be printed in order for the printed code to be valid
88// Rust syntax. We also test negative cases: the pretty-printer should not be
99// synthesizing parentheses indiscriminately; only where necessary.
1010
11- #![ feature( let_chains) ]
1211#![ feature( if_let_guard) ]
1312
1413macro_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
5- //@ edition: 2015
65
76// This test covers the AST pretty-printer's insertion of parentheses in some
87// macro metavariable edge cases. Synthetic parentheses (i.e. not appearing in
98// the syntax tree) need to be printed in order for the printed code to be valid
109// Rust syntax. We also test negative cases: the pretty-printer should not be
1110// synthesizing parentheses indiscriminately; only where necessary.
1211
13- #![feature(let_chains)]
1412#![feature(if_let_guard)]
1513#[prelude_import]
16- use :: std::prelude::rust_2015 ::*;
14+ use std::prelude::rust_2024 ::*;
1715#[macro_use]
1816extern crate std;
1917
You can’t perform that action at this time.
0 commit comments