aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-02-10 11:22:31 +0000
committerAleksey Kladov <[email protected]>2018-02-10 11:22:31 +0000
commitd68a187eb5adf489b5e1eef6aa23768b819d0e65 (patch)
treeac86eccfb71ce294f370e56b9701b032b51c2726 /src
parent3aec74bc5b3b1a6fea37a8c60f74906a177bd03f (diff)
G: use name in types
Diffstat (limited to 'src')
-rw-r--r--src/parser/grammar/items/mod.rs2
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> = ();