document parse_late_bound_lifetime_defs
This commit is contained in:
parent
f221b394de
commit
d0105600d1
@ -514,6 +514,7 @@ impl<'a> Parser<'a> {
|
||||
Ok(GenericBound::Trait(poly_trait, modifier))
|
||||
}
|
||||
|
||||
/// Optionally parses `for<$generic_params>`.
|
||||
pub(super) fn parse_late_bound_lifetime_defs(&mut self) -> PResult<'a, Vec<GenericParam>> {
|
||||
if self.eat_keyword(kw::For) {
|
||||
self.expect_lt()?;
|
||||
|
Loading…
Reference in New Issue
Block a user