summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-comma-behavior.core.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /tests/ui/macros/macro-comma-behavior.core.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/macros/macro-comma-behavior.core.stderr')
-rw-r--r--tests/ui/macros/macro-comma-behavior.core.stderr50
1 files changed, 50 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-comma-behavior.core.stderr b/tests/ui/macros/macro-comma-behavior.core.stderr
new file mode 100644
index 000000000..ac15e9fa8
--- /dev/null
+++ b/tests/ui/macros/macro-comma-behavior.core.stderr
@@ -0,0 +1,50 @@
+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:52:19
+ |
+LL | format_args!("{}",);
+ | ^^
+
+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 8 previous errors
+