1 error: operator precedence can trip the unwary
2 --> $DIR/neg_multiply.rs:38:5
4 LL | 0xcafe | 0xff00 * -1;
5 | ^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `0xcafe | (0xff00 * -1)`
7 = note: `-D clippy::precedence` implied by `-D warnings`
9 error: this multiplication by -1 can be written more succinctly
10 --> $DIR/neg_multiply.rs:28:5
13 | ^^^^^^ help: consider using: `-x`
15 = note: `-D clippy::neg-multiply` implied by `-D warnings`
17 error: this multiplication by -1 can be written more succinctly
18 --> $DIR/neg_multiply.rs:30:5
21 | ^^^^^^ help: consider using: `-x`
23 error: this multiplication by -1 can be written more succinctly
24 --> $DIR/neg_multiply.rs:32:11
27 | ^^^^^^ help: consider using: `-x`
29 error: this multiplication by -1 can be written more succinctly
30 --> $DIR/neg_multiply.rs:34:5
33 | ^^^^^^^^^^^^^^ help: consider using: `-(100 + x)`
35 error: this multiplication by -1 can be written more succinctly
36 --> $DIR/neg_multiply.rs:36:5
39 | ^^^^^^^ help: consider using: `-17`
41 error: this multiplication by -1 can be written more succinctly
42 --> $DIR/neg_multiply.rs:38:14
44 LL | 0xcafe | 0xff00 * -1;
45 | ^^^^^^^^^^^ help: consider using: `-0xff00`
47 error: aborting due to 7 previous errors