summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-backtrace-println.stderr
blob: 9e65cc3dcd62d7042a79e87d21fb3a577d1f3d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 1 previous error