mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +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
|
|
|