diff options
| author | Zack M. Davis <code@zackmdavis.net> | 2018-05-28 19:32:03 -0700 |
|---|---|---|
| committer | Zack M. Davis <code@zackmdavis.net> | 2018-06-26 07:54:49 -0700 |
| commit | 3fb76f4027596f524403e6eea60e9531e70e9460 (patch) | |
| tree | 7dd227fd8bf34166a93324df392ac057e2965b36 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 057715557b51af125847da6d19b2e016283c5ae7 (diff) | |
| download | rust-3fb76f4027596f524403e6eea60e9531e70e9460.tar.gz rust-3fb76f4027596f524403e6eea60e9531e70e9460.zip | |
inclusive range syntax lint (`...` → `..=`)
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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
