Give Instance::expect_resolve a span
This commit is contained in:
@@ -253,6 +253,7 @@ impl<'tcx> CompileTimeInterpCx<'tcx> {
|
||||
ty::ParamEnv::reveal_all(),
|
||||
const_def_id,
|
||||
instance.args,
|
||||
Some(self.find_closest_untracked_caller_location()),
|
||||
);
|
||||
|
||||
return Ok(Some(new_instance));
|
||||
|
||||
Reference in New Issue
Block a user