diff options
Diffstat (limited to 'tests/ui/macros/macro-backtrace-println.stderr')
-rw-r--r-- | tests/ui/macros/macro-backtrace-println.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-backtrace-println.stderr b/tests/ui/macros/macro-backtrace-println.stderr new file mode 100644 index 000000000..b4e2883e8 --- /dev/null +++ b/tests/ui/macros/macro-backtrace-println.stderr @@ -0,0 +1,13 @@ +error: 1 positional argument in format string, but no arguments were given + --> $DIR/macro-backtrace-println.rs:14:30 + | +LL | ($fmt:expr) => (myprint!(concat!($fmt, "\n"))); + | ^^^^^^^^^^^^^^^^^^^ +... +LL | myprintln!("{}"); + | ---------------- in this macro invocation + | + = note: this error originates in the macro `concat` which comes from the expansion of the macro `myprintln` (in Nightly builds, run with -Z macro-backtrace for more info) + +error: aborting due to previous error + |