]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/temporary_assignment.stderr
Merge remote-tracking branch 'origin/master' into testing_refactor
[rust.git] / clippy_tests / examples / temporary_assignment.stderr
1 error: assignment to temporary
2   --> temporary_assignment.rs:29:5
3    |
4 29 |     Struct { field: 0 }.field = 1;
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D temporary-assignment` implied by `-D warnings`
8
9 error: assignment to temporary
10   --> temporary_assignment.rs:30:5
11    |
12 30 |     (0, 0).0 = 1;
13    |     ^^^^^^^^^^^^
14    |
15    = note: `-D temporary-assignment` implied by `-D warnings`
16
17 error: aborting due to 2 previous errors
18
19 error: Could not compile `clippy_tests`.
20
21 To learn more, run the command again with --verbose.