1 error: literal with an empty format string
2 --> $DIR/print_literal.rs:24:71
4 24 | 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:25:24
12 25 | print!("Hello {}", "world");
15 error: literal with an empty format string
16 --> $DIR/print_literal.rs:26:36
18 26 | println!("Hello {} {}", world, "world");
21 error: literal with an empty format string
22 --> $DIR/print_literal.rs:27:26
24 27 | println!("Hello {}", "world");
27 error: literal with an empty format string
28 --> $DIR/print_literal.rs:28:30
30 28 | println!("10 / 4 is {}", 2.5);
33 error: literal with an empty format string
34 --> $DIR/print_literal.rs:29:28
36 29 | println!("2 + 1 = {}", 3);
39 error: literal with an empty format string
40 --> $DIR/print_literal.rs:34:25
42 34 | println!("{0} {1}", "hello", "world");
45 error: literal with an empty format string
46 --> $DIR/print_literal.rs:34:34
48 34 | println!("{0} {1}", "hello", "world");
51 error: literal with an empty format string
52 --> $DIR/print_literal.rs:35:25
54 35 | println!("{1} {0}", "hello", "world");
57 error: literal with an empty format string
58 --> $DIR/print_literal.rs:35:34
60 35 | println!("{1} {0}", "hello", "world");
63 error: literal with an empty format string
64 --> $DIR/print_literal.rs:38:33
66 38 | println!("{foo} {bar}", foo="hello", bar="world");
69 error: literal with an empty format string
70 --> $DIR/print_literal.rs:38:46
72 38 | println!("{foo} {bar}", foo="hello", bar="world");
75 error: literal with an empty format string
76 --> $DIR/print_literal.rs:39:33
78 39 | println!("{bar} {foo}", foo="hello", bar="world");
81 error: literal with an empty format string
82 --> $DIR/print_literal.rs:39:46
84 39 | println!("{bar} {foo}", foo="hello", bar="world");
87 error: aborting due to 14 previous errors