1 error: literal with an empty format string
2 --> $DIR/print_literal.rs:22:71
4 LL | println!("{} of {:b} people know binary, the other half doesn't", 1, 2);
7 = note: `-D clippy::print-literal` implied by `-D warnings`
9 error: literal with an empty format string
10 --> $DIR/print_literal.rs:23:24
12 LL | print!("Hello {}", "world");
15 error: literal with an empty format string
16 --> $DIR/print_literal.rs:24:36
18 LL | println!("Hello {} {}", world, "world");
21 error: literal with an empty format string
22 --> $DIR/print_literal.rs:25:26
24 LL | println!("Hello {}", "world");
27 error: literal with an empty format string
28 --> $DIR/print_literal.rs:26:30
30 LL | println!("10 / 4 is {}", 2.5);
33 error: literal with an empty format string
34 --> $DIR/print_literal.rs:27:28
36 LL | println!("2 + 1 = {}", 3);
39 error: literal with an empty format string
40 --> $DIR/print_literal.rs:32:25
42 LL | println!("{0} {1}", "hello", "world");
45 error: literal with an empty format string
46 --> $DIR/print_literal.rs:32:34
48 LL | println!("{0} {1}", "hello", "world");
51 error: literal with an empty format string
52 --> $DIR/print_literal.rs:33:25
54 LL | println!("{1} {0}", "hello", "world");
57 error: literal with an empty format string
58 --> $DIR/print_literal.rs:33:34
60 LL | println!("{1} {0}", "hello", "world");
63 error: literal with an empty format string
64 --> $DIR/print_literal.rs:36:35
66 LL | println!("{foo} {bar}", foo = "hello", bar = "world");
69 error: literal with an empty format string
70 --> $DIR/print_literal.rs:36:50
72 LL | println!("{foo} {bar}", foo = "hello", bar = "world");
75 error: literal with an empty format string
76 --> $DIR/print_literal.rs:37:35
78 LL | println!("{bar} {foo}", foo = "hello", bar = "world");
81 error: literal with an empty format string
82 --> $DIR/print_literal.rs:37:50
84 LL | println!("{bar} {foo}", foo = "hello", bar = "world");
87 error: aborting due to 14 previous errors