|
| 1 | +error: empty string literal in `writeln!` |
| 2 | + --> tests/ui/writeln_empty_string_unfixable.rs:10:5 |
| 3 | + | |
| 4 | +LL | writeln!(v, /* , */ ""); |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^--^ |
| 6 | + | | |
| 7 | + | help: remove the empty string |
| 8 | + | |
| 9 | + = note: `-D clippy::writeln-empty-string` implied by `-D warnings` |
| 10 | + = help: to override `-D warnings` add `#[allow(clippy::writeln_empty_string)]` |
| 11 | + |
| 12 | +error: empty string literal in `writeln!` |
| 13 | + --> tests/ui/writeln_empty_string_unfixable.rs:13:5 |
| 14 | + | |
| 15 | +LL | writeln!(v, "" /* , */); |
| 16 | + | ^^^^^^^^^^^^--^^^^^^^^^ |
| 17 | + | | |
| 18 | + | help: remove the empty string |
| 19 | + |
| 20 | +error: empty string literal in `writeln!` |
| 21 | + --> tests/ui/writeln_empty_string_unfixable.rs:16:5 |
| 22 | + | |
| 23 | +LL | writeln!(v, /* comment */ ""); |
| 24 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^--^ |
| 25 | + | | |
| 26 | + | help: remove the empty string |
| 27 | + |
| 28 | +error: empty string literal in `writeln!` |
| 29 | + --> tests/ui/writeln_empty_string_unfixable.rs:19:5 |
| 30 | + | |
| 31 | +LL | writeln!(v, "" /* comment */); |
| 32 | + | ^^^^^^^^^^^^--^^^^^^^^^^^^^^^ |
| 33 | + | | |
| 34 | + | help: remove the empty string |
| 35 | + |
| 36 | +error: empty string literal in `writeln!` |
| 37 | + --> tests/ui/writeln_empty_string_unfixable.rs:22:5 |
| 38 | + | |
| 39 | +LL | writeln!(v, /* comment, comma */ ""); |
| 40 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^ |
| 41 | + | | |
| 42 | + | help: remove the empty string |
| 43 | + |
| 44 | +error: empty string literal in `writeln!` |
| 45 | + --> tests/ui/writeln_empty_string_unfixable.rs:25:5 |
| 46 | + | |
| 47 | +LL | writeln!(v, "" /* comment, comma */); |
| 48 | + | ^^^^^^^^^^^^--^^^^^^^^^^^^^^^^^^^^^^ |
| 49 | + | | |
| 50 | + | help: remove the empty string |
| 51 | + |
| 52 | +error: empty string literal in `writeln!` |
| 53 | + --> tests/ui/writeln_empty_string_unfixable.rs:28:5 |
| 54 | + | |
| 55 | +LL | writeln!(/* */ v, ""); |
| 56 | + | ^^^^^^^^^^^^^^^^^^^--^ |
| 57 | + | | |
| 58 | + | help: remove the empty string |
| 59 | + |
| 60 | +error: aborting due to 7 previous errors |
| 61 | + |
0 commit comments