diff options
author | DJMcNab <[email protected]> | 2018-12-17 22:34:18 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-19 20:12:18 +0000 |
commit | 20bbe0127cc6bfac3ced0c7ed1de4f0526f3bbed (patch) | |
tree | 7be28cc0c1f3848a024474fb52cc5663725c2700 /crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs | |
parent | 0bd9d87e87c6435d439de3f682b83bc74d784de3 (diff) |
Fix parsing of inclusive ranges (#214)
I'm not certain that this is correct, so extra eyes would be good
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs index 657467e75..3bca7bf5d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs +++ b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs | |||
@@ -1,3 +1,7 @@ | |||
1 | fn main() { | 1 | fn main() { |
2 | match 92 { 0 ... 100 => () } | 2 | match 92 { |
3 | 0 ... 100 => (), | ||
4 | 101 ..= 200 => (), | ||
5 | 200 .. 301=> (), | ||
6 | } | ||
3 | } | 7 | } |