mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-24 12:03:28 +00:00
13 lines
373 B
Text
13 lines
373 B
Text
|
error: empty string literal in `println!`
|
||
|
--> $DIR/ice-10148.rs:8:5
|
||
|
|
|
||
|
LL | println!(with_span!(""something ""));
|
||
|
| ^^^^^^^^^^^^^^^^^^^^-----------^^^^^
|
||
|
| |
|
||
|
| help: remove the empty string
|
||
|
|
|
||
|
= note: `-D clippy::println-empty-string` implied by `-D warnings`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|