diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/short-error-format.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/short-error-format.rs b/src/test/ui/short-error-format.rs new file mode 100644 index 000000000..acba4674a --- /dev/null +++ b/src/test/ui/short-error-format.rs @@ -0,0 +1,9 @@ +// compile-flags: --error-format=short + +fn foo(_: u32) {} + +fn main() { + foo("Bonjour".to_owned()); + let x = 0u32; + x.salut(); +} |