diff --git a/src/librustc_trans/callee.rs b/src/librustc_trans/callee.rs index 713613cedc90..f5a90fc2e4a1 100644 --- a/src/librustc_trans/callee.rs +++ b/src/librustc_trans/callee.rs @@ -186,7 +186,7 @@ pub fn resolve_and_get_fn<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>, ccx.tcx(), ty::ParamEnv::empty(traits::Reveal::All), def_id, - substs, + substs ).unwrap() ) }