]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/temporary_assignment.stderr
134debb22ff7844138bb77624aa7eb02430e4a1d
[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 previous error(s)
18
19 error: Could not compile `clippy_tests`.
20
21 To learn more, run the command again with --verbose.