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`
10 LL | print!("Hello world");
13 error: literal with an empty format string
14 --> $DIR/print_literal.rs:26:36
16 LL | println!("Hello {} {}", world, "world");
21 LL | println!("Hello {} world", world);
24 error: literal with an empty format string
25 --> $DIR/print_literal.rs:27:26
27 LL | println!("Hello {}", "world");
32 LL | println!("Hello world");
35 error: literal with an empty format string
36 --> $DIR/print_literal.rs:32:25
38 LL | println!("{0} {1}", "hello", "world");
43 LL | println!("hello {1}", "world");
46 error: literal with an empty format string
47 --> $DIR/print_literal.rs:32:34
49 LL | println!("{0} {1}", "hello", "world");
54 LL | println!("{0} world", "hello");
57 error: literal with an empty format string
58 --> $DIR/print_literal.rs:33:25
60 LL | println!("{1} {0}", "hello", "world");
65 LL | println!("{1} hello", "world");
68 error: literal with an empty format string
69 --> $DIR/print_literal.rs:33:34
71 LL | println!("{1} {0}", "hello", "world");
76 LL | println!("world {0}", "hello");
79 error: literal with an empty format string
80 --> $DIR/print_literal.rs:36:29
82 LL | println!("{foo} {bar}", foo = "hello", bar = "world");
87 LL | println!("hello {bar}", bar = "world");
90 error: literal with an empty format string
91 --> $DIR/print_literal.rs:36:44
93 LL | println!("{foo} {bar}", foo = "hello", bar = "world");
98 LL | println!("{foo} world", foo = "hello");
101 error: literal with an empty format string
102 --> $DIR/print_literal.rs:37:29
104 LL | println!("{bar} {foo}", foo = "hello", bar = "world");
109 LL | println!("{bar} hello", bar = "world");
112 error: literal with an empty format string
113 --> $DIR/print_literal.rs:37:44
115 LL | println!("{bar} {foo}", foo = "hello", bar = "world");
120 LL | println!("world {foo}", foo = "hello");
123 error: aborting due to 11 previous errors