]> 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 73a4818ba16008393b3986863d223b807fb1eda2..a973638504837c641a56f7b8ec722fb7ff37753f 100644 (file)
@@ -1,14 +1,16 @@
 error: assignment to temporary
-  --> $DIR/temporary_assignment.rs:29:5
+  --> $DIR/temporary_assignment.rs:39:5
    |
-29 |     Struct { field: 0 }.field = 1;
+LL |     Struct { field: 0 }.field = 1;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
-   = note: `-D temporary-assignment` implied by `-D warnings`
+   = note: `-D clippy::temporary-assignment` implied by `-D warnings`
 
 error: assignment to temporary
-  --> $DIR/temporary_assignment.rs:30:5
+  --> $DIR/temporary_assignment.rs:40:5
    |
-30 |     (0, 0).0 = 1;
+LL |     (0, 0).0 = 1;
    |     ^^^^^^^^^^^^
 
+error: aborting due to 2 previous errors
+