diff options
Diffstat (limited to 'src/mir/from_hir_match.cpp')
-rw-r--r-- | src/mir/from_hir_match.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mir/from_hir_match.cpp b/src/mir/from_hir_match.cpp index d7dcc354..8eb61a5f 100644 --- a/src/mir/from_hir_match.cpp +++ b/src/mir/from_hir_match.cpp @@ -806,6 +806,9 @@ void PatternRulesetBuilder::append_from(const Span& sp, const ::HIR::Pattern& pa (Any, // _ on a unit-like type, unconditional ), + (StructValue, + // Unit-like struct value, nothing to match (it's unconditional) + ), (Value, // Unit-like struct value, nothing to match (it's unconditional) ) |