diff options
Diffstat (limited to 'src/parser/grammar')
-rw-r--r-- | src/parser/grammar/types.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/grammar/types.rs b/src/parser/grammar/types.rs index ea4df8639..a4967a00a 100644 --- a/src/parser/grammar/types.rs +++ b/src/parser/grammar/types.rs | |||
@@ -77,7 +77,7 @@ fn pointer_type(p: &mut Parser) { | |||
77 | // type T = *(); | 77 | // type T = *(); |
78 | p.error( | 78 | p.error( |
79 | "expected mut or const in raw pointer type \ | 79 | "expected mut or const in raw pointer type \ |
80 | (use `*mut T` or `*const T` as appropriate)" | 80 | (use `*mut T` or `*const T` as appropriate)", |
81 | ); | 81 | ); |
82 | } | 82 | } |
83 | }; | 83 | }; |
@@ -98,7 +98,7 @@ fn array_or_slice_type(p: &mut Parser) { | |||
98 | R_BRACK => { | 98 | R_BRACK => { |
99 | p.bump(); | 99 | p.bump(); |
100 | SLICE_TYPE | 100 | SLICE_TYPE |
101 | }, | 101 | } |
102 | 102 | ||
103 | // test array_type | 103 | // test array_type |
104 | // type T = [(); 92]; | 104 | // type T = [(); 92]; |