]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/interpret/machine.rs
`find_fn` -> `find_mir_or_eval_fn` rename
[rust.git] / src / librustc_mir / interpret / machine.rs
index b7cde626415a7653f321868b8ce3b807a4dcb109..7f5873cebf621feb6dc00b670d11a8b373377665 100644 (file)
@@ -146,7 +146,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
     /// nor just jump to `ret`, but instead push their own stack frame.)
     /// Passing `dest`and `ret` in the same `Option` proved very annoying when only one of them
     /// was used.
-    fn find_fn(
+    fn find_mir_or_eval_fn(
         ecx: &mut InterpCx<'mir, 'tcx, Self>,
         instance: ty::Instance<'tcx>,
         args: &[OpTy<'tcx, Self::PointerTag>],