rust/tests
bors 57c67a29d2 Auto merge of #4352 - phansch:fix_redundant_pattern_matching, r=flip1995
Fix some suggestions for redundant_pattern_matching

.. and change the Applicability to `MaybeIncorrect`.

Fixes the problem displayed in https://github.com/rust-lang/rust-clippy/issues/4344#issuecomment-519206388.

We now append `{}` to the suggestion so that the conditional has the
correct syntax again.

(If we were to _remove_ the `if` instead, it would trigger the
`unused_must_use` warning for `#[must_use]` types.)

changelog: Fix some suggestions for `redundant_pattern_matching`
2019-08-21 08:15:36 +00:00
..
auxiliary
ui Auto merge of #4352 - phansch:fix_redundant_pattern_matching, r=flip1995 2019-08-21 08:15:36 +00:00
ui-toml Update ui-toml tests 2019-08-14 09:58:00 +02:00
compile-test.rs
dogfood.rs Disable dogfood on windows for faster build time on travis 2019-07-14 15:21:50 +02:00
fmt.rs Enable rustfmt tests 2019-07-28 06:45:23 +02:00
matches.rs
missing-test-files.rs
needless_continue_helpers.rs
versioncheck.rs