From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/short-error-format.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/ui/short-error-format.rs (limited to 'tests/ui/short-error-format.rs') diff --git a/tests/ui/short-error-format.rs b/tests/ui/short-error-format.rs new file mode 100644 index 000000000..acba4674a --- /dev/null +++ b/tests/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(); +} -- cgit v1.2.3