rust/tests/ui/unpretty/hir-tree.rs
2024-04-04 18:43:26 +08:00

11 lines
233 B
Rust

//@ build-pass
//@ compile-flags: -o - -Zunpretty=hir-tree
//@ check-stdout
//@ dont-check-compiler-stdout
//@ dont-check-compiler-stderr
//@ regex-error-pattern: Hello, Rustaceans!
fn main() {
println!("Hello, Rustaceans!");
}