Update tests for new format! error message

This commit is contained in:
Tommy Ip 2017-11-06 14:20:31 +00:00
parent d5cb474f57
commit 13a416298c
2 changed files with 2 additions and 2 deletions

View File

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

View File

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