Give Instance::expect_resolve a span
This commit is contained in:
parent
d3a742bde9
commit
9dc129ae82
9 changed files with 38 additions and 12 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue