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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
133 B
Rust
Raw Permalink Normal View History

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