rust/tests/ui/println_empty_string.stderr

38 lines
1.1 KiB
Plaintext
Raw Normal View History

error: empty string literal in `println!`
--> tests/ui/println_empty_string.rs:5:5
2018-10-06 11:18:06 -05:00
|
2018-12-27 09:57:55 -06:00
LL | println!("");
| ^^^^^^^^^--^
| |
| help: remove the empty string
2018-10-06 11:18:06 -05:00
|
= note: `-D clippy::println-empty-string` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::println_empty_string)]`
2017-10-20 09:45:17 -05:00
error: empty string literal in `println!`
--> tests/ui/println_empty_string.rs:8:14
2018-10-06 11:18:06 -05:00
|
2018-12-27 09:57:55 -06:00
LL | _ => println!(""),
| ^^^^^^^^^--^
| |
| help: remove the empty string
error: empty string literal in `eprintln!`
--> tests/ui/println_empty_string.rs:12:5
|
LL | eprintln!("");
| ^^^^^^^^^^--^
| |
| help: remove the empty string
error: empty string literal in `eprintln!`
--> tests/ui/println_empty_string.rs:15:14
|
LL | _ => eprintln!(""),
| ^^^^^^^^^^--^
| |
| help: remove the empty string
error: aborting due to 4 previous errors
2018-01-16 10:06:27 -06:00