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 f221b39 commit d010560Copy full SHA for d010560
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