diff options
Diffstat (limited to 'src/parser/grammar')
-rw-r--r-- | src/parser/grammar/items/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar/items/mod.rs b/src/parser/grammar/items/mod.rs index 61ebc740f..2d9580991 100644 --- a/src/parser/grammar/items/mod.rs +++ b/src/parser/grammar/items/mod.rs | |||
@@ -236,7 +236,7 @@ fn type_item(p: &mut Parser) { | |||
236 | assert!(p.at(TYPE_KW)); | 236 | assert!(p.at(TYPE_KW)); |
237 | p.bump(); | 237 | p.bump(); |
238 | 238 | ||
239 | p.expect(IDENT); | 239 | name(p); |
240 | 240 | ||
241 | // test type_item_type_params | 241 | // test type_item_type_params |
242 | // type Result<T> = (); | 242 | // type Result<T> = (); |