Show macro name in 'this error originates in macro' message
When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error.
This commit is contained in:
parent
70e52caed9
commit
0dd9f118d9
350 changed files with 744 additions and 744 deletions
|
@ -4,7 +4,7 @@ error: requires at least a format string argument
|
|||
LL | format!();
|
||||
| ^^^^^^^^^^
|
||||
|
|
||||
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
= note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error: expected expression, found keyword `struct`
|
||||
--> $DIR/format-parse-errors.rs:5:13
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue