about summary refs log tree commit diff
path: root/src/test/ui/lint/inclusive-range-pattern-syntax.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-21/+0
2021-06-25Address PR feedbackRyan Levick-2/+2
2021-06-25Change how edition based future compatibility warnings are handledRyan Levick-2/+2
2021-04-16Fix testsRyan Levick-0/+2
2020-01-23Use check-pass mode for lint testsTomasz Miąsko-1/+1
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-1/+1
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.