1 error: assignment to temporary
2 --> temporary_assignment.rs:29:5
4 29 | Struct { field: 0 }.field = 1;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D temporary-assignment` implied by `-D warnings`
9 error: assignment to temporary
10 --> temporary_assignment.rs:30:5
15 = note: `-D temporary-assignment` implied by `-D warnings`
17 error: aborting due to previous error(s)
19 error: Could not compile `clippy_tests`.
21 To learn more, run the command again with --verbose.