rust/tests
bors 6f3912850a 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.
2018-12-31 09:25:18 +00:00
..
auxiliary rustfmt tests 2018-12-09 23:26:16 +01:00
run-pass rustfmt tests 2018-12-09 23:26:16 +01:00
ui Auto merge of #3590 - jorpic:i3559-if_same_then_else, r=phansch 2018-12-31 09:25:18 +00:00
ui-toml Update *.stderr files 2018-12-28 12:41:12 +01:00
compile-test.rs Apply cargo fix --edition-idioms fixes 2018-12-29 17:46:25 +01:00
dogfood.rs Revert "Merge pull request #3257 from o01eg/remove-sysroot" 2018-12-14 21:42:01 +01:00
matches.rs Auto merge of #3598 - xfix:apply-cargo-fix-edition-idioms, r=phansch 2018-12-29 19:04:11 +00:00
needless_continue_helpers.rs Remove unnecessary use statements after cargo fix 2018-12-29 17:48:21 +01:00
versioncheck.rs Remove unnecessary use statements after cargo fix 2018-12-29 17:48:21 +01:00