2017-05-17 12:19:44 +00:00
|
|
|
error: assignment to temporary
|
2017-05-17 15:51:35 +00:00
|
|
|
--> temporary_assignment.rs:29:5
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
29 | Struct { field: 0 }.field = 1;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D temporary-assignment` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: assignment to temporary
|
2017-05-17 15:51:35 +00:00
|
|
|
--> temporary_assignment.rs:30:5
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
30 | (0, 0).0 = 1;
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D temporary-assignment` implied by `-D warnings`
|
|
|
|
|
2017-05-26 07:21:54 +00:00
|
|
|
error: aborting due to previous error(s)
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
error: Could not compile `clippy_tests`.
|
|
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|