]> git.lizzy.rs Git - rust.git/blob - tests/ui/temporary_assignment.stderr
Auto merge of #3587 - flip1995:ui-testing, r=phansch
[rust.git] / tests / ui / temporary_assignment.stderr
1 error: assignment to temporary
2   --> $DIR/temporary_assignment.rs:39:5
3    |
4 LL |     Struct { field: 0 }.field = 1;
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::temporary-assignment` implied by `-D warnings`
8
9 error: assignment to temporary
10   --> $DIR/temporary_assignment.rs:40:5
11    |
12 LL |     (0, 0).0 = 1;
13    |     ^^^^^^^^^^^^
14
15 error: aborting due to 2 previous errors
16