Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
diagnostic-flags
/
error-format-short.rs
blob: 4c793cd1b189b8f82696106ee1647bb155bc6e6b [
file
] [
log
] [
blame
]
//! Check that compile errors are formatted in the "short" style
//! when `--error-format=short` is used.
//@ compile-flags: --error-format=short
fn
foo
(
_
:
u32
)
{}
fn
main
()
{
foo
(
"Bonjour"
.
to_owned
());
let
x
=
0u32
;
x
.
salut
();
}