diff options
author | Matthew Jasper <[email protected]> | 2020-02-09 22:04:50 +0000 |
---|---|---|
committer | Matthew Jasper <[email protected]> | 2020-02-09 22:06:28 +0000 |
commit | 504e2a46bd71cd0fcaf7eb774216f65951761e38 (patch) | |
tree | c20aa53cd44c4ba7bc2bae5d447b7e59106a6007 /crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rs | |
parent | 8c8d0bb34f5495e0f260b5aaf3685ecb98406f32 (diff) |
Update tests for or-patterns
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rs b/crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rs new file mode 100644 index 000000000..a26316605 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rs | |||
@@ -0,0 +1,8 @@ | |||
1 | fn main() { | ||
2 | match () { | ||
3 | (_ | _) => (), | ||
4 | &(_ | _) => (), | ||
5 | (_ | _,) => (), | ||
6 | [_ | _,] => (), | ||
7 | } | ||
8 | } | ||