rust/tests/ui/println_empty_string.stderr

29 lines
781 B
Plaintext
Raw Normal View History

error: using `println!("")`
2020-02-04 08:20:49 +01:00
--> $DIR/println_empty_string.rs:6:5
2018-10-06 09:18:06 -07:00
|
2018-12-27 16:57:55 +01:00
LL | println!("");
2018-10-06 09:18:06 -07:00
| ^^^^^^^^^^^^ help: replace it with: `println!()`
|
= note: `-D clippy::println-empty-string` implied by `-D warnings`
2017-10-20 16:45:17 +02:00
error: using `println!("")`
2020-02-04 08:20:49 +01:00
--> $DIR/println_empty_string.rs:9:14
2018-10-06 09:18:06 -07:00
|
2018-12-27 16:57:55 +01:00
LL | _ => println!(""),
2018-10-06 09:18:06 -07:00
| ^^^^^^^^^^^^ help: replace it with: `println!()`
error: using `eprintln!("")`
--> $DIR/println_empty_string.rs:13:5
|
LL | eprintln!("");
| ^^^^^^^^^^^^^ help: replace it with: `eprintln!()`
error: using `eprintln!("")`
--> $DIR/println_empty_string.rs:16:14
|
LL | _ => eprintln!(""),
| ^^^^^^^^^^^^^ help: replace it with: `eprintln!()`
error: aborting due to 4 previous errors
2018-01-16 17:06:27 +01:00