1
Fork 0

Stabilize opaque type precise capturing

This commit is contained in:
Michael Goulet 2024-07-12 06:12:24 -04:00
parent c6f81a452e
commit eae5b5c6e7
49 changed files with 70 additions and 134 deletions

View file

@ -851,7 +851,6 @@ impl<'a> Parser<'a> {
// lifetimes and ident params (including SelfUpper). These are validated later
// for order, duplication, and whether they actually reference params.
let use_span = self.prev_token.span;
self.psess.gated_spans.gate(sym::precise_capturing, use_span);
let (args, args_span) = self.parse_precise_capturing_args()?;
GenericBound::Use(args, use_span.to(args_span))
} else {