diff options
| author | Michael Goulet <michael@errs.io> | 2024-07-12 06:12:24 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-08-17 12:33:29 -0400 |
| commit | eae5b5c6e7d5804f7c0a6080444709b3c77b3443 (patch) | |
| tree | 62fac20d42a6479f41107c8e4f7d9d3030372105 /compiler/rustc_parse/src | |
| parent | c6f81a452e291dd4ff5bcbc6ecb9cd6f2271f164 (diff) | |
| download | rust-eae5b5c6e7d5804f7c0a6080444709b3c77b3443.tar.gz rust-eae5b5c6e7d5804f7c0a6080444709b3c77b3443.zip | |
Stabilize opaque type precise capturing
Diffstat (limited to 'compiler/rustc_parse/src')
| -rw-r--r-- | compiler/rustc_parse/src/parser/ty.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/ty.rs b/compiler/rustc_parse/src/parser/ty.rs index a8e8270673a..52f0b1c1b04 100644 --- a/compiler/rustc_parse/src/parser/ty.rs +++ b/compiler/rustc_parse/src/parser/ty.rs @@ -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 { |
