diff options
| author | bors <bors@rust-lang.org> | 2023-04-16 00:07:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-16 00:07:06 +0000 |
| commit | c6fb7b9815aea87fb5ced1c683212871699c907c (patch) | |
| tree | 524293a9a11da3bee727d8b5407827b2108d1a19 /compiler/rustc_borrowck/src | |
| parent | 50b816f71f9055d6f162bec69c30b7574bb8e91a (diff) | |
| parent | a8983749bd1b92359ca6d82f52bf026b0f9b8d71 (diff) | |
| download | rust-c6fb7b9815aea87fb5ced1c683212871699c907c.tar.gz rust-c6fb7b9815aea87fb5ced1c683212871699c907c.zip | |
Auto merge of #110375 - JohnTitor:rollup-ghvdaxm, r=JohnTitor
Rollup of 8 pull requests Successful merges: - #110033 (Add 1.69.0 release notes) - #110272 (fix: skip implied bounds if unconstrained lifetime exists) - #110307 (Allow everyone to set the beta-nominated label) - #110347 (Add intra-doc links to size_of_* functions) - #110350 (Add a UI test for #79605) - #110356 (Fix `x test rust-installer` when `cargo` is set to a relative path) - #110364 (remove redundant clones) - #110366 (fix some clippy::complexity) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_borrowck/src')
| -rw-r--r-- | compiler/rustc_borrowck/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/lib.rs b/compiler/rustc_borrowck/src/lib.rs index a4b285a34fa..70d0a101b4e 100644 --- a/compiler/rustc_borrowck/src/lib.rs +++ b/compiler/rustc_borrowck/src/lib.rs @@ -528,7 +528,7 @@ impl<'cx, 'tcx> BorrowckInferCtxt<'cx, 'tcx> { where F: Fn() -> RegionCtxt, { - let next_region = self.infcx.next_nll_region_var(origin.clone()); + let next_region = self.infcx.next_nll_region_var(origin); let vid = next_region.as_var(); if cfg!(debug_assertions) && !self.inside_canonicalization_ctxt() { |
