diff options
| author | Ziru Niu <zirconium.n@gmail.com> | 2023-05-31 06:25:27 +0800 |
|---|---|---|
| committer | Ziru Niu <zirconium.n@gmail.com> | 2023-06-20 20:55:31 +0800 |
| commit | 8fb4c41f35fee3b224ea87148cb2ae31a9ed4675 (patch) | |
| tree | d1e09f189d7ab22dc9318faca582e99d4e0854ed /compiler/rustc_mir_dataflow/src | |
| parent | 6fc0273b5a57eb78cc00841181113fda3e509478 (diff) | |
| download | rust-8fb4c41f35fee3b224ea87148cb2ae31a9ed4675.tar.gz rust-8fb4c41f35fee3b224ea87148cb2ae31a9ed4675.zip | |
merge `BorrowKind::Unique` into `BorrowKind::Mut`
Diffstat (limited to 'compiler/rustc_mir_dataflow/src')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/elaborate_drops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/elaborate_drops.rs b/compiler/rustc_mir_dataflow/src/elaborate_drops.rs index 27232b70d96..c0102b15a16 100644 --- a/compiler/rustc_mir_dataflow/src/elaborate_drops.rs +++ b/compiler/rustc_mir_dataflow/src/elaborate_drops.rs @@ -638,7 +638,7 @@ where Place::from(ref_place), Rvalue::Ref( tcx.lifetimes.re_erased, - BorrowKind::Mut { allow_two_phase_borrow: false }, + BorrowKind::Mut { kind: MutBorrowKind::Default }, self.place, ), )], |
