aboutsummaryrefslogtreecommitdiff
path: root/src/parser/grammar/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/grammar/mod.rs')
-rw-r--r--src/parser/grammar/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parser/grammar/mod.rs b/src/parser/grammar/mod.rs
index 54a63a547..23216452f 100644
--- a/src/parser/grammar/mod.rs
+++ b/src/parser/grammar/mod.rs
@@ -47,6 +47,11 @@ fn visibility(p: &mut Parser) {
47 p.bump(); 47 p.bump();
48 if p.at(L_PAREN) { 48 if p.at(L_PAREN) {
49 match p.nth(1) { 49 match p.nth(1) {
50 // test crate_visibility
51 // pub(crate) struct S;
52 // pub(self) struct S;
53 // pub(self) struct S;
54 // pub(self) struct S;
50 CRATE_KW | SELF_KW | SUPER_KW => { 55 CRATE_KW | SELF_KW | SUPER_KW => {
51 p.bump(); 56 p.bump();
52 p.bump(); 57 p.bump();