Sign in
rust
/
rust
/
refs/heads/main
/
.
/
src
/
tools
/
miri
/
tests
/
fail
/
rustc-error.rs
blob: b554af9c25d697345210a522ebf1f28836ce00d9 [
file
] [
edit
]
// Make sure we exit with non-0 status code when the program fails to build.
fn
main
()
{
println
(
"Hello, world!"
);
//~ ERROR: cannot find function `println` in this scope
}