fbce952193
- 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.
13 lines
447 B
Plaintext
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!" ) ) )`
|
|
|