summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/macro-comma-behavior.std.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /src/test/ui/macros/macro-comma-behavior.std.stderr
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/macros/macro-comma-behavior.std.stderr')
-rw-r--r--src/test/ui/macros/macro-comma-behavior.std.stderr80
1 files changed, 80 insertions, 0 deletions
diff --git a/src/test/ui/macros/macro-comma-behavior.std.stderr b/src/test/ui/macros/macro-comma-behavior.std.stderr
new file mode 100644
index 000000000..7fd060e22
--- /dev/null
+++ b/src/test/ui/macros/macro-comma-behavior.std.stderr
@@ -0,0 +1,80 @@
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:21:23
+ |
+LL | assert_eq!(1, 1, "{}",);
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:24:23
+ |
+LL | assert_ne!(1, 2, "{}",);
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:30:29
+ |
+LL | debug_assert_eq!(1, 1, "{}",);
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:33:29
+ |
+LL | debug_assert_ne!(1, 2, "{}",);
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:38:18
+ |
+LL | eprint!("{}",);
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:43:20
+ |
+LL | eprintln!("{}",);
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:48:18
+ |
+LL | format!("{}",);
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:52:19
+ |
+LL | format_args!("{}",);
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:59:17
+ |
+LL | print!("{}",);
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:64:19
+ |
+LL | println!("{}",);
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:68:21
+ |
+LL | unimplemented!("{}",);
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:77:24
+ |
+LL | write!(f, "{}",)?;
+ | ^^
+
+error: 1 positional argument in format string, but no arguments were given
+ --> $DIR/macro-comma-behavior.rs:81:26
+ |
+LL | writeln!(f, "{}",)?;
+ | ^^
+
+error: aborting due to 13 previous errors
+