error: printing a literal with an empty format string --> $DIR/print_literal.rs:14:24 | 14 | print!("Hello {}", "world"); | ^^^^^^^ | = note: `-D print-literal` implied by `-D warnings` error: printing a literal with an empty format string --> $DIR/print_literal.rs:15:36 | 15 | println!("Hello {} {}", world, "world"); | ^^^^^^^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:16:26 | 16 | println!("Hello {}", "world"); | ^^^^^^^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:17:30 | 17 | println!("10 / 4 is {}", 2.5); | ^^^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:18:28 | 18 | println!("2 + 1 = {}", 3); | ^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:19:31 | 19 | println!("2 + 1 = {:.4}", 3); | ^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:20:32 | 20 | println!("2 + 1 = {:5.4}", 3); | ^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:21:33 | 21 | println!("Debug test {:?}", "hello, world"); | ^^^^^^^^^^^^^^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:26:25 | 26 | println!("{0} {1}", "hello", "world"); | ^^^^^^^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:26:34 | 26 | println!("{0} {1}", "hello", "world"); | ^^^^^^^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:27:25 | 27 | println!("{1} {0}", "hello", "world"); | ^^^^^^^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:27:34 | 27 | println!("{1} {0}", "hello", "world"); | ^^^^^^^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:30:33 | 30 | println!("{foo} {bar}", foo="hello", bar="world"); | ^^^^^^^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:30:46 | 30 | println!("{foo} {bar}", foo="hello", bar="world"); | ^^^^^^^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:31:33 | 31 | println!("{bar} {foo}", foo="hello", bar="world"); | ^^^^^^^ error: printing a literal with an empty format string --> $DIR/print_literal.rs:31:46 | 31 | println!("{bar} {foo}", foo="hello", bar="world"); | ^^^^^^^ error: aborting due to 16 previous errors