]> git.lizzy.rs Git - rust.git/blob - tests/ui/temporary_assignment.stderr
Merge branch 'master' into rustfmt_tests
[rust.git] / tests / ui / temporary_assignment.stderr
1 error: assignment to temporary
2   --> $DIR/temporary_assignment.rs:39:5
3    |
4 39 |     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 40 |     (0, 0).0 = 1;
13    |     ^^^^^^^^^^^^
14
15 error: aborting due to 2 previous errors
16