From 134fe4f566d94fd4ca91c6417fab0ae7b3e4275f Mon Sep 17 00:00:00 2001 From: DJMcNab <36049421+DJMcNab@users.noreply.github.com> Date: Thu, 20 Dec 2018 16:45:54 +0000 Subject: Fix the tests and fix the precommit hook --- crates/ra_syntax/src/grammar/types.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ra_syntax/src/grammar/types.rs') diff --git a/crates/ra_syntax/src/grammar/types.rs b/crates/ra_syntax/src/grammar/types.rs index 811d399d4..a933b986b 100644 --- a/crates/ra_syntax/src/grammar/types.rs +++ b/crates/ra_syntax/src/grammar/types.rs @@ -97,7 +97,7 @@ fn pointer_type(p: &mut Parser) { // type C = *mut (); MUT_KW | CONST_KW => p.bump(), _ => { - // test pointer_type_no_mutability + // test_err pointer_type_no_mutability // type T = *(); p.error( "expected mut or const in raw pointer type \ @@ -132,7 +132,7 @@ fn array_or_slice_type(p: &mut Parser) { p.expect(R_BRACK); ARRAY_TYPE } - // test array_type_missing_semi + // test_err array_type_missing_semi // type T = [() 92]; _ => { p.error("expected `;` or `]`"); @@ -175,7 +175,7 @@ fn fn_pointer_type(p: &mut Parser) { if p.at(EXTERN_KW) { abi(p); } - // test fn_pointer_type_missing_fn + // test_err fn_pointer_type_missing_fn // type F = unsafe (); if !p.eat(FN_KW) { m.abandon(p); -- cgit v1.2.3