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_const_eval/src/interpret/eval_context.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_const_eval/src/interpret/eval_context.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/eval_context.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_const_eval/src/interpret/eval_context.rs b/compiler/rustc_const_eval/src/interpret/eval_context.rs index cb14e165b5c..f908063d695 100644 --- a/compiler/rustc_const_eval/src/interpret/eval_context.rs +++ b/compiler/rustc_const_eval/src/interpret/eval_context.rs @@ -1089,7 +1089,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { pub fn eval_mir_constant( &self, - val: &mir::ConstantKind<'tcx>, + val: &mir::Const<'tcx>, span: Option<Span>, layout: Option<TyAndLayout<'tcx>>, ) -> InterpResult<'tcx, OpTy<'tcx, M::Provenance>> { | 
