diff options
| author | Ralf Jung <post@ralfj.de> | 2023-09-20 20:51:14 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-09-21 08:12:30 +0200 |
| commit | c94410c1458f9ea55e51fc9af478d94a82ec90a0 (patch) | |
| tree | 03d021ce987ce3e284a1e0a05d0a1c7e0622d983 /compiler/rustc_mir_dataflow/src/value_analysis.rs | |
| parent | a2374e65aafd47fa68a3954fa2a3116c519aa7e5 (diff) | |
| download | rust-c94410c1458f9ea55e51fc9af478d94a82ec90a0.tar.gz rust-c94410c1458f9ea55e51fc9af478d94a82ec90a0.zip | |
rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::Const
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/value_analysis.rs')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/value_analysis.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_mir_dataflow/src/value_analysis.rs b/compiler/rustc_mir_dataflow/src/value_analysis.rs index 514146b5030..dd20e5d7430 100644 --- a/compiler/rustc_mir_dataflow/src/value_analysis.rs +++ b/compiler/rustc_mir_dataflow/src/value_analysis.rs @@ -225,7 +225,7 @@ pub trait ValueAnalysis<'tcx> { fn handle_constant( &self, - constant: &Constant<'tcx>, + constant: &ConstOperand<'tcx>, state: &mut State<Self::Value>, ) -> Self::Value { self.super_constant(constant, state) @@ -233,7 +233,7 @@ pub trait ValueAnalysis<'tcx> { fn super_constant( &self, - _constant: &Constant<'tcx>, + _constant: &ConstOperand<'tcx>, _state: &mut State<Self::Value>, ) -> Self::Value { Self::Value::TOP |
