]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/blacklisted_name.stderr
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / blacklisted_name.stderr
index 707d36b24b27f3e84ae675ac6124dfb6bfaaf59a..44123829fb0f651208a28aa35f981a94f42c99a5 100644 (file)
@@ -1,87 +1,87 @@
 error: use of a blacklisted/placeholder name `foo`
-  --> $DIR/blacklisted_name.rs:20:9
+  --> $DIR/blacklisted_name.rs:11:9
    |
-20 | fn test(foo: ()) {}
+LL | fn test(foo: ()) {}
    |         ^^^
    |
    = note: `-D clippy::blacklisted-name` implied by `-D warnings`
 
 error: use of a blacklisted/placeholder name `foo`
-  --> $DIR/blacklisted_name.rs:23:9
+  --> $DIR/blacklisted_name.rs:14:9
    |
-23 |     let foo = 42;
+LL |     let foo = 42;
    |         ^^^
 
 error: use of a blacklisted/placeholder name `bar`
-  --> $DIR/blacklisted_name.rs:24:9
+  --> $DIR/blacklisted_name.rs:15:9
    |
-24 |     let bar = 42;
+LL |     let bar = 42;
    |         ^^^
 
 error: use of a blacklisted/placeholder name `baz`
-  --> $DIR/blacklisted_name.rs:25:9
+  --> $DIR/blacklisted_name.rs:16:9
    |
-25 |     let baz = 42;
+LL |     let baz = 42;
    |         ^^^
 
 error: use of a blacklisted/placeholder name `foo`
-  --> $DIR/blacklisted_name.rs:31:10
+  --> $DIR/blacklisted_name.rs:22:10
    |
-31 |         (foo, Some(bar), baz @ Some(_)) => (),
+LL |         (foo, Some(bar), baz @ Some(_)) => (),
    |          ^^^
 
 error: use of a blacklisted/placeholder name `bar`
-  --> $DIR/blacklisted_name.rs:31:20
+  --> $DIR/blacklisted_name.rs:22:20
    |
-31 |         (foo, Some(bar), baz @ Some(_)) => (),
+LL |         (foo, Some(bar), baz @ Some(_)) => (),
    |                    ^^^
 
 error: use of a blacklisted/placeholder name `baz`
-  --> $DIR/blacklisted_name.rs:31:26
+  --> $DIR/blacklisted_name.rs:22:26
    |
-31 |         (foo, Some(bar), baz @ Some(_)) => (),
+LL |         (foo, Some(bar), baz @ Some(_)) => (),
    |                          ^^^
 
 error: use of a blacklisted/placeholder name `foo`
-  --> $DIR/blacklisted_name.rs:36:19
+  --> $DIR/blacklisted_name.rs:27:19
    |
-36 | fn issue_1647(mut foo: u8) {
+LL | fn issue_1647(mut foo: u8) {
    |                   ^^^
 
 error: use of a blacklisted/placeholder name `bar`
-  --> $DIR/blacklisted_name.rs:37:13
+  --> $DIR/blacklisted_name.rs:28:13
    |
-37 |     let mut bar = 0;
+LL |     let mut bar = 0;
    |             ^^^
 
 error: use of a blacklisted/placeholder name `baz`
-  --> $DIR/blacklisted_name.rs:38:21
+  --> $DIR/blacklisted_name.rs:29:21
    |
-38 |     if let Some(mut baz) = Some(42) {}
+LL |     if let Some(mut baz) = Some(42) {}
    |                     ^^^
 
 error: use of a blacklisted/placeholder name `bar`
-  --> $DIR/blacklisted_name.rs:42:13
+  --> $DIR/blacklisted_name.rs:33:13
    |
-42 |     let ref bar = 0;
+LL |     let ref bar = 0;
    |             ^^^
 
 error: use of a blacklisted/placeholder name `baz`
-  --> $DIR/blacklisted_name.rs:43:21
+  --> $DIR/blacklisted_name.rs:34:21
    |
-43 |     if let Some(ref baz) = Some(42) {}
+LL |     if let Some(ref baz) = Some(42) {}
    |                     ^^^
 
 error: use of a blacklisted/placeholder name `bar`
-  --> $DIR/blacklisted_name.rs:47:17
+  --> $DIR/blacklisted_name.rs:38:17
    |
-47 |     let ref mut bar = 0;
+LL |     let ref mut bar = 0;
    |                 ^^^
 
 error: use of a blacklisted/placeholder name `baz`
-  --> $DIR/blacklisted_name.rs:48:25
+  --> $DIR/blacklisted_name.rs:39:25
    |
-48 |     if let Some(ref mut baz) = Some(42) {}
+LL |     if let Some(ref mut baz) = Some(42) {}
    |                         ^^^
 
 error: aborting due to 14 previous errors