about summary refs log tree commit diff
path: root/src/test/ui/lint/inclusive-range-pattern-syntax.fixed
AgeCommit message (Collapse)AuthorLines
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-10Rewrite `...` as `..=` as a MachineApplicable 2018 idiom lintvarkor-0/+6
2018-06-26inclusive range syntax lint (`...` → `..=`)Zack M. Davis-0/+23
Our implementation ends up changing the `PatKind::Range` variant in the AST to take a `Spanned<RangeEnd>` instead of just a `RangeEnd`, because the alternative would be to try to infer the span of the range operator from the spans of the start and end subexpressions, which is both hideous and nontrivial to get right (whereas getting the change to the AST right was a simple game of type tennis). This is concerning #51043.