]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/writeln_empty_string.stderr
Rollup merge of #102345 - chenyukang:fix-102182-impl-trait, r=estebank
[rust.git] / src / tools / clippy / tests / ui / writeln_empty_string.stderr
1 error: empty string literal in `writeln!`
2   --> $DIR/writeln_empty_string.rs:11: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
11 error: empty string literal in `writeln!`
12   --> $DIR/writeln_empty_string.rs:14:5
13    |
14 LL |     writeln!(suggestion, "");
15    |     ^^^^^^^^^^^^^^^^^^^----^
16    |                        |
17    |                        help: remove the empty string
18
19 error: aborting due to 2 previous errors
20