rust-clippy/tests
bors 4d686196b9 Auto merge of #6863 - Jarcho:wild_enum_match, r=llogiq
`match_wildcard` improvements

fixes: #6604
fixes: #5733
fixes: #6862

#5733 is only fixed in the normal case, if different paths are used for the variants then the same problem will occur. It's cause by `def_path_str` returning an utterly useless result. I haven't dug into why yet.

For #6604 there should be some discussion before accepting this. It's easy enough to change the message rather than disable the lint for `Option` and `Result`.

changelog: Attempt to find a common path prefix for `match_wildcard_for_single_variants` and `wildcard_enum_match_arm`
changelog: Don't lint op `Option` and `Result` for `match_wildcard_for_single_variants` and `wildcard_enum_match_arm`
changelog: Consider `or` patterns and `Self` prefix for `match_wildcard_for_single_variants` and `wildcard_enum_match_arm`
2021-03-18 10:39:28 +00:00
..
auxiliary Remove all copyright license headers 2019-01-08 21:46:39 +01:00
cargo Merge commit '2f6439ae6a6803d030cceb3ee14c9150e91b328b' into clippyup 2020-10-09 12:45:29 +02:00
ui Auto merge of #6863 - Jarcho:wild_enum_match, r=llogiq 2021-03-18 10:39:28 +00:00
ui-cargo Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
ui-internal Move declare_clippy_lint back into clippy_lints 2021-02-23 18:50:30 -05:00
ui-toml Auto merge of #6805 - matthiaskrgr:uca_nopub_6803, r=flip1995 2021-03-17 10:53:02 +00:00
compile-test.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
dogfood.rs Auto merge of #6834 - hyd-dev:clippy-args, r=phansch,flip1995,oli-obk 2021-03-08 13:18:39 +00:00
fmt.rs Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup 2020-08-28 18:43:25 +02:00
integration.rs Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup 2020-12-20 17:19:49 +01:00
lint_message_convention.rs Add version = "Two" to rustfmt.toml 2021-03-01 16:17:33 -06:00
missing-test-files.rs Fix/allow non_fmt_panic in clippy tests. 2021-02-03 23:15:51 +01:00
versioncheck.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00