mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
13 lines
455 B
Text
13 lines
455 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`
|
|
= help: to override `-D warnings` add `#[allow(clippy::println_empty_string)]`
|
|
|
|
error: aborting due to previous error
|
|
|