summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/writeln_empty_string.stderr
blob: 99635229b3e13eafc1f4bf2db210de1e677215a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: using `writeln!(&mut v, "")`
  --> $DIR/writeln_empty_string.rs:11:5
   |
LL |     writeln!(&mut v, "");
   |     ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut v)`
   |
   = note: `-D clippy::writeln-empty-string` implied by `-D warnings`

error: using `writeln!(&mut suggestion, "")`
  --> $DIR/writeln_empty_string.rs:14:5
   |
LL |     writeln!(&mut suggestion, "");
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(&mut suggestion)`

error: aborting due to 2 previous errors