diff options
| author | Ralf Jung <post@ralfj.de> | 2024-08-12 10:57:57 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-08-18 19:46:53 +0200 |
| commit | 35709be02d43b40e7f720408f8a88bf6e9d5501d (patch) | |
| tree | 5f4aa6c08afcb38af2c712e7b24cbff7983ceb4d /compiler/rustc_mir_dataflow/src/value_analysis.rs | |
| parent | b8464961a2681585a6231b93cd7e85e50022c2b3 (diff) | |
| download | rust-35709be02d43b40e7f720408f8a88bf6e9d5501d.tar.gz rust-35709be02d43b40e7f720408f8a88bf6e9d5501d.zip | |
rename AddressOf -> RawBorrow inside the compiler
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/value_analysis.rs')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/value_analysis.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/value_analysis.rs b/compiler/rustc_mir_dataflow/src/value_analysis.rs index 139fd592f69..2b20a35b61e 100644 --- a/compiler/rustc_mir_dataflow/src/value_analysis.rs +++ b/compiler/rustc_mir_dataflow/src/value_analysis.rs @@ -177,7 +177,7 @@ pub trait ValueAnalysis<'tcx> { match rvalue { Rvalue::Use(operand) => self.handle_operand(operand, state), Rvalue::CopyForDeref(place) => self.handle_operand(&Operand::Copy(*place), state), - Rvalue::Ref(..) | Rvalue::AddressOf(..) => { + Rvalue::Ref(..) | Rvalue::RawPtr(..) => { // We don't track such places. ValueOrPlace::TOP } |
