rust/tests/ui/rfcs/rfc-2497-if-let-chains/ast-pretty-check.stdout
Lukas Wirth 20ab952b4d Explicitly annotate edition for unpretty=expanded and unpretty=hir tests
These emit prelude imports which means they are always edition dependent
2025-04-16 11:10:10 +02:00

12 lines
226 B
Plaintext

#![feature(prelude_import)]
#![no_std]
#[prelude_import]
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
//@ check-pass
//@ compile-flags: -Z unpretty=expanded
//@ edition: 2015
fn main() { if let 0 = 1 {} }