Eduardo Broto
4117ae1175
Split redundant_pattern_matching tests
...
This is to avoid the 200 lines stderr file limit
2020-09-21 15:32:26 +02:00
Christiaan Dirkx
ed43385cab
Update Clippy testcases
...
Update the test `redundant_pattern_matching`: check if `is_some` and `is_none` are suggested within const contexts.
2020-09-20 23:59:34 +02:00
Christiaan Dirkx
10d272b2e2
Update Clippy testcases
...
Update the test `redundant_pattern_matching`: check if `is_ok` and `is_err` are suggested within const contexts.
Also removes the `redundant_pattern_matching_const_result` test, as it is no longer needed.
2020-09-20 03:32:36 +02:00
flip1995
d164ab65f7
Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup
2020-07-26 21:07:07 +02:00
flip1995
6f25adbd5a
Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup
2020-07-14 14:59:59 +02:00
Dylan MacKenzie
3c5ee3300f
Update tests
2020-06-28 10:08:12 -07:00
flip1995
80bcbf521c
Merge commit 'c2c07fa9d095931eb5684a42942a7b573a0c5238' into clippyup
2020-06-23 17:05:22 +02:00
Aleksei Latyshev
69fe6b4c98
fix redundant_pattern_matching lint
...
- now it gives correct suggestion in case of macros
- better tests
- remove a couple of non-relevant tests
2020-04-25 23:51:30 +03:00
Aleksei Latyshev
092c4595fe
fix redundant_pattern_matching lint
...
- now it handles `while let` case
- better suggestions in `if let` case
2020-04-17 21:51:07 +03:00
David Tolnay
adcaa1b86d
Downgrade let_unit_value to pedantic
2020-04-02 18:31:31 -07:00
Manish Goregaokar
d28dacb33a
redundant_pattern_matching: make rustfixable
2019-09-25 14:45:18 -07:00