| error[E0277]: `()` doesn't implement `std::fmt::Display` |
| --> $DIR/macro-expansion-empty-span-147255.rs:9:20 |
| | |
| LL | println!("{}", x_str); |
| | -- ^^^^^ `()` cannot be formatted with the default formatter |
| | | |
| | required by this formatting parameter |
| | |
| = help: the trait `std::fmt::Display` is not implemented for `()` |
| = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead |
| = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) |
| |
| error: aborting due to 1 previous error |
| |
| For more information about this error, try `rustc --explain E0277`. |