1 error: operator precedence can trip the unwary
2 --> $DIR/precedence.rs:8:5
5 | ^^^^^^^^^^ help: consider parenthesizing your expression `1 << (2 + 3)`
7 note: lint level defined here
8 --> $DIR/precedence.rs:4:8
10 4 | #[deny(precedence)]
13 error: operator precedence can trip the unwary
14 --> $DIR/precedence.rs:9:5
17 | ^^^^^^^^^^ help: consider parenthesizing your expression `(1 + 2) << 3`
19 error: operator precedence can trip the unwary
20 --> $DIR/precedence.rs:10:5
23 | ^^^^^^^^^^ help: consider parenthesizing your expression `4 >> (1 + 1)`
25 error: operator precedence can trip the unwary
26 --> $DIR/precedence.rs:11:5
29 | ^^^^^^^^^^ help: consider parenthesizing your expression `(1 + 3) >> 2`
31 error: operator precedence can trip the unwary
32 --> $DIR/precedence.rs:12:5
35 | ^^^^^^^^^ help: consider parenthesizing your expression `1 ^ (1 - 1)`
37 error: operator precedence can trip the unwary
38 --> $DIR/precedence.rs:13:5
41 | ^^^^^^^^^ help: consider parenthesizing your expression `3 | (2 - 1)`
43 error: operator precedence can trip the unwary
44 --> $DIR/precedence.rs:14:5
47 | ^^^^^^^^^ help: consider parenthesizing your expression `3 & (5 - 2)`
49 error: unary minus has lower precedence than method call
50 --> $DIR/precedence.rs:15:5
53 | ^^^^^^^^^^^ help: consider adding parentheses to clarify your intent `-(1i32.abs())`
55 error: unary minus has lower precedence than method call
56 --> $DIR/precedence.rs:16:5
59 | ^^^^^^^^^^^ help: consider adding parentheses to clarify your intent `-(1f32.abs())`
61 error: aborting due to 9 previous errors