diff options
| author | bors <bors@rust-lang.org> | 2024-06-29 09:29:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-29 09:29:41 +0000 |
| commit | be99243afc9e12d5abac1ba475808fab6c28204b (patch) | |
| tree | d06f7d2faa65c757fc02df53f7901c0426264f92 /compiler/rustc_parse/src/parser/expr.rs | |
| parent | 38d0f87a493e9ab736185d1d7d17a5c51652740f (diff) | |
| parent | 8fe770165f2e4672c121766eaf2d84edd5ed94c5 (diff) | |
| download | rust-be99243afc9e12d5abac1ba475808fab6c28204b.tar.gz rust-be99243afc9e12d5abac1ba475808fab6c28204b.zip | |
Auto merge of #127111 - matthiaskrgr:rollup-ybzkuuv, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - #126822 (Bootstrap command refactoring: port more `Command` usages to `BootstrapCmd` (step 2)) - #126835 (Simplifications in match lowering) - #126953 (std: separate TLS key creation from TLS access) - #127045 (Rename `super_predicates_of` and similar queries to `explicit_*` to note that they're not elaborated) - #127075 (rustc_data_structures: Explicitly check for 64-bit atomics support) - #127101 (remove redundant match statement from dataflow const prop) - #127102 (Rename fuchsia builder and bump Fuchsia) - #127103 (Move binder and polarity parsing into `parse_generic_ty_bound`) - #127108 (unify `dylib` and `bin_helpers` and create `shared_helpers::parse_value_from_args`) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs index 3cdc20b6c65..b2df9a14eb0 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -2327,7 +2327,7 @@ impl<'a> Parser<'a> { let before = self.prev_token.clone(); let binder = if self.check_keyword(kw::For) { let lo = self.token.span; - let lifetime_defs = self.parse_late_bound_lifetime_defs()?; + let (lifetime_defs, _) = self.parse_late_bound_lifetime_defs()?; let span = lo.to(self.prev_token.span); self.psess.gated_spans.gate(sym::closure_lifetime_binder, span); |
