From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/codemap_tests/bad-format-args.stderr | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/test/ui/codemap_tests/bad-format-args.stderr (limited to 'src/test/ui/codemap_tests/bad-format-args.stderr') diff --git a/src/test/ui/codemap_tests/bad-format-args.stderr b/src/test/ui/codemap_tests/bad-format-args.stderr deleted file mode 100644 index 8f79beaa9..000000000 --- a/src/test/ui/codemap_tests/bad-format-args.stderr +++ /dev/null @@ -1,22 +0,0 @@ -error: requires at least a format string argument - --> $DIR/bad-format-args.rs:2:5 - | -LL | format!(); - | ^^^^^^^^^ - | - = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) - -error: expected `,`, found `1` - --> $DIR/bad-format-args.rs:3:16 - | -LL | format!("" 1); - | ^ expected `,` - -error: expected one of `,`, `.`, `?`, or an operator, found `1` - --> $DIR/bad-format-args.rs:4:19 - | -LL | format!("", 1 1); - | ^ expected one of `,`, `.`, `?`, or an operator - -error: aborting due to 3 previous errors - -- cgit v1.2.3