aboutsummaryrefslogtreecommitdiff
path: root/src/parser/grammar/items/traits.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/grammar/items/traits.rs')
-rw-r--r--src/parser/grammar/items/traits.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser/grammar/items/traits.rs b/src/parser/grammar/items/traits.rs
index 9961a88fe..7fd011ffd 100644
--- a/src/parser/grammar/items/traits.rs
+++ b/src/parser/grammar/items/traits.rs
@@ -8,6 +8,9 @@ pub(super) fn trait_item(p: &mut Parser) {
8 p.expect(R_CURLY); 8 p.expect(R_CURLY);
9} 9}
10 10
11
12// test impl_item
13// impl Foo {}
11pub(super) fn impl_item(p: &mut Parser) { 14pub(super) fn impl_item(p: &mut Parser) {
12 assert!(p.at(IMPL_KW)); 15 assert!(p.at(IMPL_KW));
13 p.bump(); 16 p.bump();