diff options
| author | bors <bors@rust-lang.org> | 2021-03-18 10:39:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-18 10:39:28 +0000 |
| commit | 4d686196b9281fa474ae41934ac367702e586687 (patch) | |
| tree | 0477a74d43f16b30e2fae61ba21a7ede7d230acc /src/test/codegen/src-hash-algorithm | |
| parent | ba13311c466f9062d702acf4f2ac463471b42eb2 (diff) | |
| parent | d5a7941ead06e1cb89a0a2cc6ea5c19810daea03 (diff) | |
| download | rust-4d686196b9281fa474ae41934ac367702e586687.tar.gz rust-4d686196b9281fa474ae41934ac367702e586687.zip | |
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`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
