1 error: operator precedence can trip the unwary
2 --> $DIR/precedence.rs:17:5
5 | ^^^^^^^^^^ help: consider parenthesizing your expression: `1 << (2 + 3)`
7 = note: `-D clippy::precedence` implied by `-D warnings`
9 error: operator precedence can trip the unwary
10 --> $DIR/precedence.rs:18:5
13 | ^^^^^^^^^^ help: consider parenthesizing your expression: `(1 + 2) << 3`
15 error: operator precedence can trip the unwary
16 --> $DIR/precedence.rs:19:5
19 | ^^^^^^^^^^ help: consider parenthesizing your expression: `4 >> (1 + 1)`
21 error: operator precedence can trip the unwary
22 --> $DIR/precedence.rs:20:5
25 | ^^^^^^^^^^ help: consider parenthesizing your expression: `(1 + 3) >> 2`
27 error: operator precedence can trip the unwary
28 --> $DIR/precedence.rs:21:5
31 | ^^^^^^^^^ help: consider parenthesizing your expression: `1 ^ (1 - 1)`
33 error: operator precedence can trip the unwary
34 --> $DIR/precedence.rs:22:5
37 | ^^^^^^^^^ help: consider parenthesizing your expression: `3 | (2 - 1)`
39 error: operator precedence can trip the unwary
40 --> $DIR/precedence.rs:23:5
43 | ^^^^^^^^^ help: consider parenthesizing your expression: `3 & (5 - 2)`
45 error: unary minus has lower precedence than method call
46 --> $DIR/precedence.rs:24:5
49 | ^^^^^^^^^^^ help: consider adding parentheses to clarify your intent: `-(1i32.abs())`
51 error: unary minus has lower precedence than method call
52 --> $DIR/precedence.rs:25:5
55 | ^^^^^^^^^^^ help: consider adding parentheses to clarify your intent: `-(1f32.abs())`
57 error: unary minus has lower precedence than method call
58 --> $DIR/precedence.rs:52:13
60 LL | let _ = -1.0_f64.cos().cos();
61 | ^^^^^^^^^^^^^^^^^^^^ help: consider adding parentheses to clarify your intent: `-(1.0_f64.cos().cos())`
63 error: unary minus has lower precedence than method call
64 --> $DIR/precedence.rs:53:13
66 LL | let _ = -1.0_f64.cos().sin();
67 | ^^^^^^^^^^^^^^^^^^^^ help: consider adding parentheses to clarify your intent: `-(1.0_f64.cos().sin())`
69 error: unary minus has lower precedence than method call
70 --> $DIR/precedence.rs:54:13
72 LL | let _ = -1.0_f64.sin().cos();
73 | ^^^^^^^^^^^^^^^^^^^^ help: consider adding parentheses to clarify your intent: `-(1.0_f64.sin().cos())`
75 error: aborting due to 12 previous errors