rust/clippy_tests/examples/temporary_assignment.stderr
2017-07-03 12:37:30 +08:00

19 lines
431 B
Plaintext

error: assignment to temporary
--> temporary_assignment.rs:29:5
|
29 | Struct { field: 0 }.field = 1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D temporary-assignment` implied by `-D warnings`
error: assignment to temporary
--> temporary_assignment.rs:30:5
|
30 | (0, 0).0 = 1;
| ^^^^^^^^^^^^
error: aborting due to 2 previous errors
To learn more, run the command again with --verbose.