diff options
| author | Michael Goulet <michael@errs.io> | 2024-04-04 12:54:56 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-04-15 16:45:01 -0400 |
| commit | 42ba57c0133306ff510bf641e9d90b33419d7ac7 (patch) | |
| tree | df7fe9e9b5b5976f17da016354e838a87fe5cd3d /compiler/rustc_parse/src | |
| parent | 41cf87b71b792b40155cd79f96234a89ae7dc27f (diff) | |
| download | rust-42ba57c0133306ff510bf641e9d90b33419d7ac7.tar.gz rust-42ba57c0133306ff510bf641e9d90b33419d7ac7.zip | |
Validation and other things
Diffstat (limited to 'compiler/rustc_parse/src')
| -rw-r--r-- | compiler/rustc_parse/src/parser/ty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/ty.rs b/compiler/rustc_parse/src/parser/ty.rs index a24ecf938ba..91f4823f65d 100644 --- a/compiler/rustc_parse/src/parser/ty.rs +++ b/compiler/rustc_parse/src/parser/ty.rs @@ -674,7 +674,7 @@ impl<'a> Parser<'a> { let use_span = self.prev_token.span; self.psess.gated_spans.gate(sym::precise_capturing, use_span); let args = self.parse_precise_capturing_args()?; - Some(args) + Some(P((args, use_span))) } else { None }; |
