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