diff options
| author | bors <bors@rust-lang.org> | 2021-10-12 20:54:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-10-12 20:54:15 +0000 |
| commit | d7c97a02d1215e4ef26c31cb72dbaf16fd548b2c (patch) | |
| tree | 97678e144716871aac7596ffe1f476db8ed62b83 /compiler/rustc_codegen_gcc | |
| parent | 044674337a180c494b7e6fdce4b20dca93324b2a (diff) | |
| parent | 2a042d61055263e404d9588d39046ed51e96a560 (diff) | |
| download | rust-d7c97a02d1215e4ef26c31cb72dbaf16fd548b2c.tar.gz rust-d7c97a02d1215e4ef26c31cb72dbaf16fd548b2c.zip | |
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 :shrug: since this area can be sensitive.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
