2 #![allow(unused_variables)]
3 #![allow(unused_assignments)]
4 #![allow(clippy::if_same_then_else)]
5 #![allow(clippy::deref_addrof)]
13 // weird `else` formatting:
22 let _ = { // if as the last expression
32 let _ = { // if in the middle of a block
55 if foo() { // the span of the above error should continue here
61 if foo() { // the span of the above error should continue here
98 // weird op_eq formatting:
111 // possible missing comma in an array
113 -1, -2, -3 // <= no comma here
117 -1, -2, -3 // <= no comma here
135 // don't lint for bin op without unary equiv
147 // don't lint if the indentation suggests not to