]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/print_literal.stderr
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / print_literal.stderr
1 error: literal with an empty format string
2 --> $DIR/print_literal.rs:25:24
3 |
4 LL | print!("Hello {}", "world");
5 | ^^^^^^^
6 |
7 = note: `-D clippy::print-literal` implied by `-D warnings`
8
9 error: literal with an empty format string
10 --> $DIR/print_literal.rs:26:36
11 |
12 LL | println!("Hello {} {}", world, "world");
13 | ^^^^^^^
14
15 error: literal with an empty format string
16 --> $DIR/print_literal.rs:27:26
17 |
18 LL | println!("Hello {}", "world");
19 | ^^^^^^^
20
21 error: literal with an empty format string
22 --> $DIR/print_literal.rs:32:25
23 |
24 LL | println!("{0} {1}", "hello", "world");
25 | ^^^^^^^
26
27 error: literal with an empty format string
28 --> $DIR/print_literal.rs:32:34
29 |
30 LL | println!("{0} {1}", "hello", "world");
31 | ^^^^^^^
32
33 error: literal with an empty format string
34 --> $DIR/print_literal.rs:33:25
35 |
36 LL | println!("{1} {0}", "hello", "world");
37 | ^^^^^^^
38
39 error: literal with an empty format string
40 --> $DIR/print_literal.rs:33:34
41 |
42 LL | println!("{1} {0}", "hello", "world");
43 | ^^^^^^^
44
45 error: literal with an empty format string
46 --> $DIR/print_literal.rs:36:35
47 |
48 LL | println!("{foo} {bar}", foo = "hello", bar = "world");
49 | ^^^^^^^
50
51 error: literal with an empty format string
52 --> $DIR/print_literal.rs:36:50
53 |
54 LL | println!("{foo} {bar}", foo = "hello", bar = "world");
55 | ^^^^^^^
56
57 error: literal with an empty format string
58 --> $DIR/print_literal.rs:37:35
59 |
60 LL | println!("{bar} {foo}", foo = "hello", bar = "world");
61 | ^^^^^^^
62
63 error: literal with an empty format string
64 --> $DIR/print_literal.rs:37:50
65 |
66 LL | println!("{bar} {foo}", foo = "hello", bar = "world");
67 | ^^^^^^^
68
69 error: aborting due to 11 previous errors
70