1 error: literal with an empty format string
2 --> $DIR/print_literal.rs:25:24
4 LL | print!("Hello {}", "world");
7 = note: `-D clippy::print-literal` implied by `-D warnings`
9 error: literal with an empty format string
10 --> $DIR/print_literal.rs:26:36
12 LL | println!("Hello {} {}", world, "world");
15 error: literal with an empty format string
16 --> $DIR/print_literal.rs:27:26
18 LL | println!("Hello {}", "world");
21 error: literal with an empty format string
22 --> $DIR/print_literal.rs:32:25
24 LL | println!("{0} {1}", "hello", "world");
27 error: literal with an empty format string
28 --> $DIR/print_literal.rs:32:34
30 LL | println!("{0} {1}", "hello", "world");
33 error: literal with an empty format string
34 --> $DIR/print_literal.rs:33:25
36 LL | println!("{1} {0}", "hello", "world");
39 error: literal with an empty format string
40 --> $DIR/print_literal.rs:33:34
42 LL | println!("{1} {0}", "hello", "world");
45 error: literal with an empty format string
46 --> $DIR/print_literal.rs:36:35
48 LL | println!("{foo} {bar}", foo = "hello", bar = "world");
51 error: literal with an empty format string
52 --> $DIR/print_literal.rs:36:50
54 LL | println!("{foo} {bar}", foo = "hello", bar = "world");
57 error: literal with an empty format string
58 --> $DIR/print_literal.rs:37:35
60 LL | println!("{bar} {foo}", foo = "hello", bar = "world");
63 error: literal with an empty format string
64 --> $DIR/print_literal.rs:37:50
66 LL | println!("{bar} {foo}", foo = "hello", bar = "world");
69 error: aborting due to 11 previous errors