aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-02-10 11:15:04 +0000
committerAleksey Kladov <[email protected]>2018-02-10 11:15:04 +0000
commitfa2131365e8ff2a6fa4fcb47aa04e6d51a32943e (patch)
tree80bcea00fdef46350572b5ee03ffb0979d0bfed6 /src
parentc13e6db774acca952577fa7a18599b75b407f3c2 (diff)
G: use names in traits
Diffstat (limited to 'src')
-rw-r--r--src/parser/grammar/items/traits.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar/items/traits.rs b/src/parser/grammar/items/traits.rs
index 3bef9639f..9961a88fe 100644
--- a/src/parser/grammar/items/traits.rs
+++ b/src/parser/grammar/items/traits.rs
@@ -3,7 +3,7 @@ use super::*;
3pub(super) fn trait_item(p: &mut Parser) { 3pub(super) fn trait_item(p: &mut Parser) {
4 assert!(p.at(TRAIT_KW)); 4 assert!(p.at(TRAIT_KW));
5 p.bump(); 5 p.bump();
6 p.expect(IDENT); 6 name(p);
7 p.expect(L_CURLY); 7 p.expect(L_CURLY);
8 p.expect(R_CURLY); 8 p.expect(R_CURLY);
9} 9}