Files
rust/tests/ui/diagnostic-flags/error-format-short.rs

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

13 lines
245 B
Rust
Raw Normal View History

2025-07-01 19:28:38 +05:00
//! Check that compile errors are formatted in the "short" style
//! when `--error-format=short` is used.
2018-04-01 00:10:34 +02:00
//@ compile-flags: --error-format=short
2017-09-16 19:24:08 +02:00
fn foo(_: u32) {}
fn main() {
foo("Bonjour".to_owned());
let x = 0u32;
x.salut();
}