rust/src/test/ui/macros/trace-macro.stderr
Esteban Küber fbce952193 review comments: modify note wording and change println
- Don't print the newline on its own to avoid the possibility of
  printing it out of order due to `stdout` locking.
- Modify wording of `concat!()` with non-literals to not mislead into
  believing that only `&str` literals are accepted.
- Add test for `concat!()` with non-literals.
2018-07-19 23:18:07 -07:00

13 lines
447 B
Plaintext

note: trace_macro
--> $DIR/trace-macro.rs:15:5
|
LL | println!("Hello, World!");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expanding `println! { "Hello, World!" }`
= note: to `print ! ( "{}/n" , format_args ! ( "Hello, World!" ) )`
= note: expanding `print! { "{}/n" , format_args ! ( "Hello, World!" ) }`
= note: to `$crate :: io :: _print (
format_args ! ( "{}/n" , format_args ! ( "Hello, World!" ) ) )`