diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-08 09:35:34 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-16 10:59:53 +0200 |
| commit | c189565edc5c9fc516170885b3a3061b936205fb (patch) | |
| tree | 9b7deb9d35aa293c01251707bb915143551aec71 /src/libsyntax/parse/parser/generics.rs | |
| parent | 98017ca53a0c3ac6a10f60b47462bd3546baaaa1 (diff) | |
| download | rust-c189565edc5c9fc516170885b3a3061b936205fb.tar.gz rust-c189565edc5c9fc516170885b3a3061b936205fb.zip | |
syntax: reduce visibilities
Diffstat (limited to 'src/libsyntax/parse/parser/generics.rs')
| -rw-r--r-- | src/libsyntax/parse/parser/generics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/generics.rs b/src/libsyntax/parse/parser/generics.rs index 2ecd9cca3c6..bfcb0042a75 100644 --- a/src/libsyntax/parse/parser/generics.rs +++ b/src/libsyntax/parse/parser/generics.rs @@ -74,7 +74,7 @@ impl<'a> Parser<'a> { /// Parses a (possibly empty) list of lifetime and type parameters, possibly including /// a trailing comma and erroneous trailing attributes. - crate fn parse_generic_params(&mut self) -> PResult<'a, Vec<ast::GenericParam>> { + pub(super) fn parse_generic_params(&mut self) -> PResult<'a, Vec<ast::GenericParam>> { let mut params = Vec::new(); loop { let attrs = self.parse_outer_attributes()?; |
