We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f02fd50 commit 0ebd421Copy full SHA for 0ebd421
src/librustc_parse/parser/ty.rs
@@ -514,6 +514,7 @@ impl<'a> Parser<'a> {
514
Ok(GenericBound::Trait(poly_trait, modifier))
515
}
516
517
+ /// Optionally parses `for<$generic_params>`.
518
pub(super) fn parse_late_bound_lifetime_defs(&mut self) -> PResult<'a, Vec<GenericParam>> {
519
if self.eat_keyword(kw::For) {
520
self.expect_lt()?;
0 commit comments