Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/parser/src/grammar.rs')
| -rw-r--r-- | crates/parser/src/grammar.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/parser/src/grammar.rs b/crates/parser/src/grammar.rs index 86dce61da2..1c58f217a3 100644 --- a/crates/parser/src/grammar.rs +++ b/crates/parser/src/grammar.rs @@ -86,10 +86,6 @@ pub(crate) mod entry_points { expressions::stmt(p, expressions::StmtWithSemi::Optional, false); } - pub(crate) fn visibility(p: &mut Parser) { - let _ = opt_visibility(p, false); - } - // Parse a meta item , which excluded [], e.g : #[ MetaItem ] pub(crate) fn meta_item(p: &mut Parser) { attributes::meta(p); |