mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 00:53:31 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
13 lines
457 B
Text
13 lines
457 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 1 previous error
|
|
|