fix for rustc changes (#749)

fix for rustc changes
This commit is contained in:
Ralf Jung 2019-05-29 10:56:37 +02:00 committed by GitHub
commit b4b71e30bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
721268583759224d0f6476e0b8b196cc8afbdea0
4b9d80325a65b0375eea526409a0f3aaf1cbc23c

View File

@ -17,7 +17,7 @@ fn find_fn(
args: &[OpTy<'tcx, Tag>],
dest: Option<PlaceTy<'tcx, Tag>>,
ret: Option<mir::BasicBlock>,
) -> EvalResult<'tcx, Option<&'mir mir::Mir<'tcx>>> {
) -> EvalResult<'tcx, Option<&'mir mir::Body<'tcx>>> {
let this = self.eval_context_mut();
trace!("eval_fn_call: {:#?}, {:?}", instance, dest.map(|place| *place));

View File

@ -407,7 +407,7 @@ fn find_fn(
args: &[OpTy<'tcx, Tag>],
dest: Option<PlaceTy<'tcx, Tag>>,
ret: Option<mir::BasicBlock>,
) -> EvalResult<'tcx, Option<&'mir mir::Mir<'tcx>>> {
) -> EvalResult<'tcx, Option<&'mir mir::Body<'tcx>>> {
ecx.find_fn(instance, args, dest, ret)
}