rust/tests/ui/temporary_assignment.stderr
2018-10-06 09:43:08 -07:00

17 lines
395 B
Plaintext

error: assignment to temporary
--> $DIR/temporary_assignment.rs:39:5
|
39 | Struct { field: 0 }.field = 1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::temporary-assignment` implied by `-D warnings`
error: assignment to temporary
--> $DIR/temporary_assignment.rs:40:5
|
40 | (0, 0).0 = 1;
| ^^^^^^^^^^^^
error: aborting due to 2 previous errors