syntax: reduce visibilities
This commit is contained in:
parent
98017ca53a
commit
c189565edc
14 changed files with 101 additions and 101 deletions
|
@ -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()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue