Skip to content

Commit 13a4162

Browse files
committed
Update tests for new format! error message
1 parent d5cb474 commit 13a4162

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/cross-crate-macro-backtrace/main.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: invalid reference to argument `0` (no arguments given)
1+
error: 1 positional argument in format string, but no arguments were given
22
--> $DIR/main.rs:16:5
33
|
44
16 | myprintln!("{}"); //~ ERROR in this macro

src/test/ui/macros/macro-backtrace-println.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: invalid reference to argument `0` (no arguments given)
1+
error: 1 positional argument in format string, but no arguments were given
22
--> $DIR/macro-backtrace-println.rs:24:30
33
|
44
24 | ($fmt:expr) => (myprint!(concat!($fmt, "/n")));

0 commit comments

Comments
 (0)