diff options
Diffstat (limited to 'src/test/ui/fmt/ifmt-bad-format-args.stderr')
-rw-r--r-- | src/test/ui/fmt/ifmt-bad-format-args.stderr | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/test/ui/fmt/ifmt-bad-format-args.stderr b/src/test/ui/fmt/ifmt-bad-format-args.stderr deleted file mode 100644 index 2db280c5e..000000000 --- a/src/test/ui/fmt/ifmt-bad-format-args.stderr +++ /dev/null @@ -1,21 +0,0 @@ -error: requires at least a format string argument - --> $DIR/ifmt-bad-format-args.rs:2:5 - | -LL | format_args!(); - | ^^^^^^^^^^^^^^ - | - = note: this error originates in the macro `format_args` (in Nightly builds, run with -Z macro-backtrace for more info) - -error: format argument must be a string literal - --> $DIR/ifmt-bad-format-args.rs:3:18 - | -LL | format_args!(|| {}); - | ^^^^^ - | -help: you might be missing a string literal to format with - | -LL | format_args!("{}", || {}); - | +++++ - -error: aborting due to 2 previous errors - |