]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/print_literal.stderr
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / print_literal.stderr
index 39e0387cb5ec3ccc8128d6d428c399e01df09ecf..fc502e9f71d525858d414699d5184b0c98cb8093 100644 (file)
@@ -1,88 +1,88 @@
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:23:71
+  --> $DIR/print_literal.rs:22:71
    |
-23 |     println!("{} of {:b} people know binary, the other half doesn't", 1, 2);
+LL |     println!("{} of {:b} people know binary, the other half doesn't", 1, 2);
    |                                                                       ^
    |
-   = note: `-D print-literal` implied by `-D warnings`
+   = note: `-D clippy::print-literal` implied by `-D warnings`
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:24:24
+  --> $DIR/print_literal.rs:23:24
    |
-24 |     print!("Hello {}", "world");
+LL |     print!("Hello {}", "world");
    |                        ^^^^^^^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:25:36
+  --> $DIR/print_literal.rs:24:36
    |
-25 |     println!("Hello {} {}", world, "world");
+LL |     println!("Hello {} {}", world, "world");
    |                                    ^^^^^^^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:26:26
+  --> $DIR/print_literal.rs:25:26
    |
-26 |     println!("Hello {}", "world");
+LL |     println!("Hello {}", "world");
    |                          ^^^^^^^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:27:30
+  --> $DIR/print_literal.rs:26:30
    |
-27 |     println!("10 / 4 is {}", 2.5);
+LL |     println!("10 / 4 is {}", 2.5);
    |                              ^^^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:28:28
+  --> $DIR/print_literal.rs:27:28
    |
-28 |     println!("2 + 1 = {}", 3);
+LL |     println!("2 + 1 = {}", 3);
    |                            ^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:33:25
+  --> $DIR/print_literal.rs:32:25
    |
-33 |     println!("{0} {1}", "hello", "world");
+LL |     println!("{0} {1}", "hello", "world");
    |                         ^^^^^^^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:33:34
+  --> $DIR/print_literal.rs:32:34
    |
-33 |     println!("{0} {1}", "hello", "world");
+LL |     println!("{0} {1}", "hello", "world");
    |                                  ^^^^^^^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:34:25
+  --> $DIR/print_literal.rs:33:25
    |
-34 |     println!("{1} {0}", "hello", "world");
+LL |     println!("{1} {0}", "hello", "world");
    |                         ^^^^^^^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:34:34
+  --> $DIR/print_literal.rs:33:34
    |
-34 |     println!("{1} {0}", "hello", "world");
+LL |     println!("{1} {0}", "hello", "world");
    |                                  ^^^^^^^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:37:33
+  --> $DIR/print_literal.rs:36:35
    |
-37 |     println!("{foo} {bar}", foo="hello", bar="world");
-   |                                 ^^^^^^^
+LL |     println!("{foo} {bar}", foo = "hello", bar = "world");
+   |                                   ^^^^^^^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:37:46
+  --> $DIR/print_literal.rs:36:50
    |
-37 |     println!("{foo} {bar}", foo="hello", bar="world");
-   |                                              ^^^^^^^
+LL |     println!("{foo} {bar}", foo = "hello", bar = "world");
+   |                                                  ^^^^^^^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:38:33
+  --> $DIR/print_literal.rs:37:35
    |
-38 |     println!("{bar} {foo}", foo="hello", bar="world");
-   |                                 ^^^^^^^
+LL |     println!("{bar} {foo}", foo = "hello", bar = "world");
+   |                                   ^^^^^^^
 
 error: literal with an empty format string
-  --> $DIR/print_literal.rs:38:46
+  --> $DIR/print_literal.rs:37:50
    |
-38 |     println!("{bar} {foo}", foo="hello", bar="world");
-   |                                              ^^^^^^^
+LL |     println!("{bar} {foo}", foo = "hello", bar = "world");
+   |                                                  ^^^^^^^
 
 error: aborting due to 14 previous errors