]> git.lizzy.rs Git - rust.git/blob - tests/ui/write_literal.stderr
Merge pull request #2645 from TimNN/regex-bytes-utf8
[rust.git] / tests / ui / write_literal.stderr
1 error: writing a literal with an empty format string
2   --> $DIR/write_literal.rs:17:32
3    |
4 17 |     write!(&mut v, "Hello {}", "world");
5    |                                ^^^^^^^
6    |
7    = note: `-D write-literal` implied by `-D warnings`
8
9 error: writing a literal with an empty format string
10   --> $DIR/write_literal.rs:18:44
11    |
12 18 |     writeln!(&mut v, "Hello {} {}", world, "world");
13    |                                            ^^^^^^^
14
15 error: writing a literal with an empty format string
16   --> $DIR/write_literal.rs:19:34
17    |
18 19 |     writeln!(&mut v, "Hello {}", "world");
19    |                                  ^^^^^^^
20
21 error: writing a literal with an empty format string
22   --> $DIR/write_literal.rs:20:38
23    |
24 20 |     writeln!(&mut v, "10 / 4 is {}", 2.5);
25    |                                      ^^^
26
27 error: writing a literal with an empty format string
28   --> $DIR/write_literal.rs:21:36
29    |
30 21 |     writeln!(&mut v, "2 + 1 = {}", 3);
31    |                                    ^
32
33 error: writing a literal with an empty format string
34   --> $DIR/write_literal.rs:22:39
35    |
36 22 |     writeln!(&mut v, "2 + 1 = {:.4}", 3);
37    |                                       ^
38
39 error: writing a literal with an empty format string
40   --> $DIR/write_literal.rs:23:40
41    |
42 23 |     writeln!(&mut v, "2 + 1 = {:5.4}", 3);
43    |                                        ^
44
45 error: writing a literal with an empty format string
46   --> $DIR/write_literal.rs:24:41
47    |
48 24 |     writeln!(&mut v, "Debug test {:?}", "hello, world");
49    |                                         ^^^^^^^^^^^^^^
50
51 error: writing a literal with an empty format string
52   --> $DIR/write_literal.rs:29:33
53    |
54 29 |     writeln!(&mut v, "{0} {1}", "hello", "world");
55    |                                 ^^^^^^^
56
57 error: writing a literal with an empty format string
58   --> $DIR/write_literal.rs:29:42
59    |
60 29 |     writeln!(&mut v, "{0} {1}", "hello", "world");
61    |                                          ^^^^^^^
62
63 error: writing a literal with an empty format string
64   --> $DIR/write_literal.rs:30:33
65    |
66 30 |     writeln!(&mut v, "{1} {0}", "hello", "world");
67    |                                 ^^^^^^^
68
69 error: writing a literal with an empty format string
70   --> $DIR/write_literal.rs:30:42
71    |
72 30 |     writeln!(&mut v, "{1} {0}", "hello", "world");
73    |                                          ^^^^^^^
74
75 error: writing a literal with an empty format string
76   --> $DIR/write_literal.rs:33:43
77    |
78 33 |     writeln!(&mut v, "{foo} {bar}", foo = "hello", bar = "world");
79    |                                           ^^^^^^^
80
81 error: writing a literal with an empty format string
82   --> $DIR/write_literal.rs:33:58
83    |
84 33 |     writeln!(&mut v, "{foo} {bar}", foo = "hello", bar = "world");
85    |                                                          ^^^^^^^
86
87 error: writing a literal with an empty format string
88   --> $DIR/write_literal.rs:34:43
89    |
90 34 |     writeln!(&mut v, "{bar} {foo}", foo = "hello", bar = "world");
91    |                                           ^^^^^^^
92
93 error: writing a literal with an empty format string
94   --> $DIR/write_literal.rs:34:58
95    |
96 34 |     writeln!(&mut v, "{bar} {foo}", foo = "hello", bar = "world");
97    |                                                          ^^^^^^^
98
99 error: aborting due to 16 previous errors
100