diff options
author | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
commit | 134fe4f566d94fd4ca91c6417fab0ae7b3e4275f (patch) | |
tree | 54d5d31d8df65982163e1ff735e1461d672d8376 /crates/ra_syntax/src/grammar/expressions | |
parent | 466885aa5bad53732786380f7579880fe2fd5645 (diff) |
Fix the tests and fix the precommit hook
Diffstat (limited to 'crates/ra_syntax/src/grammar/expressions')
-rw-r--r-- | crates/ra_syntax/src/grammar/expressions/atom.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/grammar/expressions/atom.rs b/crates/ra_syntax/src/grammar/expressions/atom.rs index 3b5749318..31b09ac5b 100644 --- a/crates/ra_syntax/src/grammar/expressions/atom.rs +++ b/crates/ra_syntax/src/grammar/expressions/atom.rs | |||
@@ -89,7 +89,7 @@ pub(super) fn atom_expr(p: &mut Parser, r: Restrictions) -> Option<(CompletedMar | |||
89 | WHILE_KW => while_expr(p, Some(m)), | 89 | WHILE_KW => while_expr(p, Some(m)), |
90 | L_CURLY => block_expr(p, Some(m)), | 90 | L_CURLY => block_expr(p, Some(m)), |
91 | _ => { | 91 | _ => { |
92 | // test misplaced_label_err | 92 | // test_err misplaced_label_err |
93 | // fn main() { | 93 | // fn main() { |
94 | // 'loop: impl | 94 | // 'loop: impl |
95 | // } | 95 | // } |
@@ -354,7 +354,7 @@ pub(crate) fn match_arm_list(p: &mut Parser) { | |||
354 | // fn foo() { | 354 | // fn foo() { |
355 | // match () { | 355 | // match () { |
356 | // _ => (), | 356 | // _ => (), |
357 | // _ if Test>{field: 0} => (), | 357 | // _ if Test > Test{field: 0} => (), |
358 | // X | Y if Z => (), | 358 | // X | Y if Z => (), |
359 | // | X | Y if Z => (), | 359 | // | X | Y if Z => (), |
360 | // | X => (), | 360 | // | X => (), |