Allow exclusive range-from patterns
This commit is contained in:
parent
a7e808ed25
commit
91bc117e53
2 changed files with 1 additions and 3 deletions
|
@ -548,7 +548,7 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
|
|||
"box pattern syntax is experimental"
|
||||
);
|
||||
}
|
||||
PatKind::Range(_, _, Spanned { node: RangeEnd::Excluded, .. }) => {
|
||||
PatKind::Range(_, Some(_), Spanned { node: RangeEnd::Excluded, .. }) => {
|
||||
gate_feature_post!(
|
||||
&self,
|
||||
exclusive_range_pattern,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue