File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ r[patterns.range.syntax]
483483>   ;  ; | _ RangeFromPattern_ \
484484>   ;  ; | _ RangeToExclusivePattern_ \
485485>   ;  ; | _ RangeToInclusivePattern_ \
486- >   ;  ; | _ ObsoleteRangePattern_
486+ >   ;  ; | _ ObsoleteRangePattern_ [ ^ obsolete-range-edition ]
487487>
488488> _ RangeExclusivePattern_ :\
489489>   ;  ;   ;  ; _ RangePatternBound_ ` .. ` _ RangePatternBound_
@@ -509,6 +509,8 @@ r[patterns.range.syntax]
509509>   ;  ; | ` - ` <sup >?</sup > [ INTEGER_LITERAL] \
510510>   ;  ; | ` - ` <sup >?</sup > [ FLOAT_LITERAL] \
511511>   ;  ; | [ _ PathExpression_ ]
512+ >
513+ > [ ^ obsolete-range-edition ] : The _ ObsoleteRangePattern_ syntax has been removed in the 2021 edition.
512514
513515r[ patterns.range.intro]
514516* Range patterns* match scalar values within the range defined by their bounds.
You can’t perform that action at this time.
0 commit comments