]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/macro-backtrace-println.stderr
Rollup merge of #106783 - WaffleLapkin:break-my-ident, r=wesleywiser
[rust.git] / tests / ui / macros / macro-backtrace-println.stderr
1 error: 1 positional argument in format string, but no arguments were given
2   --> $DIR/macro-backtrace-println.rs:14:30
3    |
4 LL |     ($fmt:expr) => (myprint!(concat!($fmt, "\n")));
5    |                              ^^^^^^^^^^^^^^^^^^^
6 ...
7 LL |     myprintln!("{}");
8    |     ---------------- in this macro invocation
9    |
10    = 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)
11
12 error: aborting due to previous error
13