mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 02:03:53 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
14 lines
538 B
Plaintext
14 lines
538 B
Plaintext
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
|
|
|