]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/temporary_assignment.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / temporary_assignment.stderr
index 17b1ca1251a5fd738e3130c53f7f16d15693075a..a973638504837c641a56f7b8ec722fb7ff37753f 100644 (file)
@@ -1,7 +1,7 @@
 error: assignment to temporary
   --> $DIR/temporary_assignment.rs:39:5
    |
-39 |     Struct { field: 0 }.field = 1;
+LL |     Struct { field: 0 }.field = 1;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `-D clippy::temporary-assignment` implied by `-D warnings`
@@ -9,7 +9,7 @@ error: assignment to temporary
 error: assignment to temporary
   --> $DIR/temporary_assignment.rs:40:5
    |
-40 |     (0, 0).0 = 1;
+LL |     (0, 0).0 = 1;
    |     ^^^^^^^^^^^^
 
 error: aborting due to 2 previous errors