We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6892fcd commit 2a1acc2Copy full SHA for 2a1acc2
compiler/rustc_pattern_analysis/src/constructor.rs
@@ -979,6 +979,7 @@ impl ConstructorSet {
979
&& !(pcx.is_top_level && matches!(self, Self::NoConstructors))
980
{
981
// Treat all missing constructors as nonempty.
982
+ // This clears `missing_empty`.
983
missing.append(&mut missing_empty);
984
}
985
0 commit comments