rust-clippy private

To start a new build commit change to repository or click New build button.
Auto merge of #3590 - jorpic:i3559-if_same_then_else, r=phansch
Fix if_same_then_else false positive This fixes false positive in #3559. The problem was that `SpanlessEq` does not check patterns in declarations. So this two blocks considered equal. ```rust if true { let (x, y) = foo(); } else { let (y, x) = foo(); } ``` Not sure if the proposed change is safe as `SpanlessEq` is used extensively in other lints, but I tried hard to come up with counterexample and failed.
1.0.2706
6 years ago by bors
6 years ago in 8 min 36 sec
Environment: TARGET=x86_64-pc-windows-msvc
8 min 37 sec
Rendering console...
Log is empty.