Point at internal span in format string
This commit is contained in:
parent
d3b3bc5767
commit
38abca8c2d
5 changed files with 224 additions and 18 deletions
|
|
@ -1,8 +1,8 @@
|
|||
error: 1 positional argument in format string, but no arguments were given
|
||||
--> $DIR/macro-backtrace-println.rs:24:30
|
||||
--> $DIR/macro-backtrace-println.rs:24:31
|
||||
|
|
||||
LL | ($fmt:expr) => (myprint!(concat!($fmt, "/n"))); //~ ERROR no arguments were given
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
| ^^
|
||||
...
|
||||
LL | myprintln!("{}");
|
||||
| ----------------- in this macro invocation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue