2017-05-17 12:19:44 +00:00
|
|
|
error: assignment to temporary
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/temporary_assignment.rs:39:5
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
2018-10-06 16:18:06 +00:00
|
|
|
39 | Struct { field: 0 }.field = 1;
|
2017-05-17 12:19:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
= note: `-D clippy::temporary-assignment` implied by `-D warnings`
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
error: assignment to temporary
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/temporary_assignment.rs:40:5
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
2018-10-06 16:18:06 +00:00
|
|
|
40 | (0, 0).0 = 1;
|
2017-05-17 12:19:44 +00:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2018-01-16 16:06:27 +00:00
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|