]> git.lizzy.rs Git - rust.git/blob - tests/ui/write_literal.stderr
Auto merge of #80851 - m-ou-se:panic-2021, r=petrochenkov
[rust.git] / tests / ui / write_literal.stderr
1 error: literal with an empty format string
2   --> $DIR/write_literal.rs:30:32
3    |
4 LL |     write!(&mut v, "Hello {}", "world");
5    |                                ^^^^^^^
6    |
7    = note: `-D clippy::write-literal` implied by `-D warnings`
8
9 error: literal with an empty format string
10   --> $DIR/write_literal.rs:31:44
11    |
12 LL |     writeln!(&mut v, "Hello {} {}", world, "world");
13    |                                            ^^^^^^^
14
15 error: literal with an empty format string
16   --> $DIR/write_literal.rs:32:34
17    |
18 LL |     writeln!(&mut v, "Hello {}", "world");
19    |                                  ^^^^^^^
20
21 error: literal with an empty format string
22   --> $DIR/write_literal.rs:37:33
23    |
24 LL |     writeln!(&mut v, "{0} {1}", "hello", "world");
25    |                                 ^^^^^^^
26
27 error: literal with an empty format string
28   --> $DIR/write_literal.rs:37:42
29    |
30 LL |     writeln!(&mut v, "{0} {1}", "hello", "world");
31    |                                          ^^^^^^^
32
33 error: literal with an empty format string
34   --> $DIR/write_literal.rs:38:33
35    |
36 LL |     writeln!(&mut v, "{1} {0}", "hello", "world");
37    |                                 ^^^^^^^
38
39 error: literal with an empty format string
40   --> $DIR/write_literal.rs:38:42
41    |
42 LL |     writeln!(&mut v, "{1} {0}", "hello", "world");
43    |                                          ^^^^^^^
44
45 error: literal with an empty format string
46   --> $DIR/write_literal.rs:41:43
47    |
48 LL |     writeln!(&mut v, "{foo} {bar}", foo = "hello", bar = "world");
49    |                                           ^^^^^^^
50
51 error: literal with an empty format string
52   --> $DIR/write_literal.rs:41:58
53    |
54 LL |     writeln!(&mut v, "{foo} {bar}", foo = "hello", bar = "world");
55    |                                                          ^^^^^^^
56
57 error: literal with an empty format string
58   --> $DIR/write_literal.rs:42:43
59    |
60 LL |     writeln!(&mut v, "{bar} {foo}", foo = "hello", bar = "world");
61    |                                           ^^^^^^^
62
63 error: literal with an empty format string
64   --> $DIR/write_literal.rs:42:58
65    |
66 LL |     writeln!(&mut v, "{bar} {foo}", foo = "hello", bar = "world");
67    |                                                          ^^^^^^^
68
69 error: aborting due to 11 previous errors
70