rust/compiler
bors d7c97a02d1 Auto merge of #89105 - DevinR528:reachable-fix, r=Nadrieril
Fix: non_exhaustive_omitted_patterns by filtering unstable and doc hidden variants

Fixes: #89042

Now that #86809 has been merged there are cases (std::io::ErrorKind) where unstable feature gated variants were included in warning/error messages when the feature was not turned on. This filters those variants out of the return of `SplitWildcard::new`.

Variants marked `doc(hidden)` are filtered out of the witnesses list in `Usefulness::apply_constructor`.

Probably worth a perf run 🤷 since this area can be sensitive.
2021-10-12 20:54:15 +00:00
..
2021-10-10 15:38:19 +02:00
2021-10-08 19:32:16 +03:00
2021-10-10 19:59:36 +01:00
2021-10-10 15:38:19 +02:00
2021-10-06 19:36:52 +00:00
2021-10-10 15:38:19 +02:00
2021-10-10 15:38:19 +02:00
2021-10-07 11:29:47 -07:00
2021-10-07 22:31:33 +02:00
2021-10-08 19:32:16 +03:00
2021-10-10 15:38:19 +02:00
2021-10-11 20:52:36 +01:00
2021-10-08 20:07:44 +02:00