]> git.lizzy.rs Git - rust.git/blob - tests/ui/temporary_assignment.stderr
Adapt the *.stderr files of the ui-tests to the tool_lints
[rust.git] / tests / ui / temporary_assignment.stderr
1 error: assignment to temporary
2   --> $DIR/temporary_assignment.rs:29:5
3    |
4 29 |     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:30:5
11    |
12 30 |     (0, 0).0 = 1;
13    |     ^^^^^^^^^^^^
14
15 error: aborting due to 2 previous errors
16