|
| 1 | +error: empty string literal in `println!` |
| 2 | + --> tests/ui/println_empty_string_unfixable.rs:7:5 |
| 3 | + | |
| 4 | +LL | println!("" /* comment */); |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | +note: remove the empty string |
| 8 | + --> tests/ui/println_empty_string_unfixable.rs:7:14 |
| 9 | + | |
| 10 | +LL | println!("" /* comment */); |
| 11 | + | ^^ |
| 12 | + = note: `-D clippy::println-empty-string` implied by `-D warnings` |
| 13 | + = help: to override `-D warnings` add `#[allow(clippy::println_empty_string)]` |
| 14 | + |
| 15 | +error: empty string literal in `eprintln!` |
| 16 | + --> tests/ui/println_empty_string_unfixable.rs:9:5 |
| 17 | + | |
| 18 | +LL | eprintln!("" /* comment */); |
| 19 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 20 | + | |
| 21 | +note: remove the empty string |
| 22 | + --> tests/ui/println_empty_string_unfixable.rs:9:15 |
| 23 | + | |
| 24 | +LL | eprintln!("" /* comment */); |
| 25 | + | ^^ |
| 26 | + |
| 27 | +error: empty string literal in `println!` |
| 28 | + --> tests/ui/println_empty_string_unfixable.rs:12:5 |
| 29 | + | |
| 30 | +LL | / println!( // comment |
| 31 | +LL | | ""); |
| 32 | + | |___________________^ |
| 33 | + | |
| 34 | +note: remove the empty string |
| 35 | + --> tests/ui/println_empty_string_unfixable.rs:13:17 |
| 36 | + | |
| 37 | +LL | ""); |
| 38 | + | ^^ |
| 39 | + |
| 40 | +error: empty string literal in `eprintln!` |
| 41 | + --> tests/ui/println_empty_string_unfixable.rs:15:5 |
| 42 | + | |
| 43 | +LL | / eprintln!( // comment |
| 44 | +LL | | ""); |
| 45 | + | |___________________^ |
| 46 | + | |
| 47 | +note: remove the empty string |
| 48 | + --> tests/ui/println_empty_string_unfixable.rs:16:17 |
| 49 | + | |
| 50 | +LL | ""); |
| 51 | + | ^^ |
| 52 | + |
| 53 | +error: empty string literal in `println!` |
| 54 | + --> tests/ui/println_empty_string_unfixable.rs:19:5 |
| 55 | + | |
| 56 | +LL | println!("", /* comment */); |
| 57 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 58 | + | |
| 59 | +note: remove the empty string |
| 60 | + --> tests/ui/println_empty_string_unfixable.rs:19:14 |
| 61 | + | |
| 62 | +LL | println!("", /* comment */); |
| 63 | + | ^^ |
| 64 | + |
| 65 | +error: empty string literal in `println!` |
| 66 | + --> tests/ui/println_empty_string_unfixable.rs:22:5 |
| 67 | + | |
| 68 | +LL | / println!( |
| 69 | +LL | | "\ |
| 70 | +LL | | \ |
| 71 | +LL | | ", |
| 72 | +... | |
| 73 | +LL | | ); |
| 74 | + | |_____^ |
| 75 | + | |
| 76 | +note: remove the empty string |
| 77 | + --> tests/ui/println_empty_string_unfixable.rs:23:9 |
| 78 | + | |
| 79 | +LL | / "\ |
| 80 | +LL | | \ |
| 81 | +LL | | ", |
| 82 | + | |_____________^ |
| 83 | + |
| 84 | +error: aborting due to 6 previous errors |
| 85 | + |
0 commit comments