@@ -18,7 +18,7 @@ use rustc_middle::ty::{
1818 Ty ,
1919} ;
2020use rustc_ast:: attr;
21- use rustc_span:: { source_map :: Span , symbol:: { sym, Symbol } } ;
21+ use rustc_span:: symbol:: { sym, Symbol } ;
2222
2323use crate :: * ;
2424
@@ -253,7 +253,6 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'tcx> {
253253 #[ inline( always) ]
254254 fn find_mir_or_eval_fn (
255255 ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
256- _span : Span ,
257256 instance : ty:: Instance < ' tcx > ,
258257 args : & [ OpTy < ' tcx , Tag > ] ,
259258 ret : Option < ( PlaceTy < ' tcx , Tag > , mir:: BasicBlock ) > ,
@@ -276,13 +275,12 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'tcx> {
276275 #[ inline( always) ]
277276 fn call_intrinsic (
278277 ecx : & mut rustc_mir:: interpret:: InterpCx < ' mir , ' tcx , Self > ,
279- span : Span ,
280278 instance : ty:: Instance < ' tcx > ,
281279 args : & [ OpTy < ' tcx , Tag > ] ,
282280 ret : Option < ( PlaceTy < ' tcx , Tag > , mir:: BasicBlock ) > ,
283281 unwind : Option < mir:: BasicBlock > ,
284282 ) -> InterpResult < ' tcx > {
285- ecx. call_intrinsic ( span , instance, args, ret, unwind)
283+ ecx. call_intrinsic ( instance, args, ret, unwind)
286284 }
287285
288286 #[ inline( always) ]
0 commit comments