rust/tests/ui/hygiene/no_implicit_prelude-2021.rs

10 lines
133 B
Rust

//@ check-pass
//@ edition:2021
#![no_implicit_prelude]
fn main() {
assert!(true, "hoi");
assert!(false, "hoi {}", 123);
}