diff options
| author | Ralf Jung <post@ralfj.de> | 2021-11-28 19:35:50 -0500 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2021-12-20 22:37:12 +0100 |
| commit | 11fb22d83aafd3f3ba66d54ff5ecdbfe5069cb83 (patch) | |
| tree | b0f5edaeb0b756e9196594b82e739825a2c6cfd4 /compiler/rustc_mir_transform/src | |
| parent | 84f962a89bac3948ed116f1ad04c2f4793fb69ea (diff) | |
| download | rust-11fb22d83aafd3f3ba66d54ff5ecdbfe5069cb83.tar.gz rust-11fb22d83aafd3f3ba66d54ff5ecdbfe5069cb83.zip | |
CTFE eval_fn_call: use FnAbi to determine argument skipping and compatibility
Diffstat (limited to 'compiler/rustc_mir_transform/src')
| -rw-r--r-- | compiler/rustc_mir_transform/src/const_prop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/const_prop.rs b/compiler/rustc_mir_transform/src/const_prop.rs index 84bdb8eece6..7e56e062fc9 100644 --- a/compiler/rustc_mir_transform/src/const_prop.rs +++ b/compiler/rustc_mir_transform/src/const_prop.rs @@ -207,7 +207,7 @@ impl<'mir, 'tcx> interpret::Machine<'mir, 'tcx> for ConstPropMachine<'mir, 'tcx> _args: &[OpTy<'tcx>], _ret: Option<(&PlaceTy<'tcx>, BasicBlock)>, _unwind: StackPopUnwind, - ) -> InterpResult<'tcx, Option<&'mir Body<'tcx>>> { + ) -> InterpResult<'tcx, Option<(&'mir Body<'tcx>, ty::Instance<'tcx>)>> { Ok(None) } |
