about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/module.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-16 13:23:46 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-10-16 17:21:32 +0200
commit1a26fdf9b2c818186e23188b4dc47349e4133b1a (patch)
tree20012934c57bbd06283b4056dbc5cf6b419d6192 /src/libsyntax/parse/parser/module.rs
parentbe40bbd2fb7e077b27d346a0b9249d309b9ca690 (diff)
downloadrust-1a26fdf9b2c818186e23188b4dc47349e4133b1a.tar.gz
rust-1a26fdf9b2c818186e23188b4dc47349e4133b1a.zip
ui-fulldeps: make them pass again?
Diffstat (limited to 'src/libsyntax/parse/parser/module.rs')
-rw-r--r--src/libsyntax/parse/parser/module.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/module.rs b/src/libsyntax/parse/parser/module.rs
index 3e88c98b856..a0e4d2bbb7a 100644
--- a/src/libsyntax/parse/parser/module.rs
+++ b/src/libsyntax/parse/parser/module.rs
@@ -26,7 +26,7 @@ pub(super) struct ModulePathSuccess {
 
 impl<'a> Parser<'a> {
     /// Parses a source module as a crate. This is the main entry point for the parser.
-    crate fn parse_crate_mod(&mut self) -> PResult<'a, Crate> {
+    pub fn parse_crate_mod(&mut self) -> PResult<'a, Crate> {
         let lo = self.token.span;
         let krate = Ok(ast::Crate {
             attrs: self.parse_inner_attributes()?,