trace_macro: Show both the macro call and its expansion. #42072.
This commit is contained in:
parent
b21577e1e8
commit
f8b66a001d
2 changed files with 17 additions and 5 deletions
|
|
@ -4,6 +4,9 @@ note: trace_macro
|
|||
14 | println!("Hello, World!");
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: expands to `println! { "Hello, World!" }`
|
||||
= note: expands to `print! { concat ! ( "Hello, World!" , "/n" ) }`
|
||||
= note: expanding `println! { "Hello, World!" }`
|
||||
= note: to `print ! ( concat ! ( "Hello, World!" , "/n" ) )`
|
||||
= note: expanding `print! { concat ! ( "Hello, World!" , "/n" ) }`
|
||||
= note: to `$crate :: io :: _print ( format_args ! ( concat ! ( "Hello, World!" , "/n" ) )
|
||||
)`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue