Move methods from Map
to TyCtxt
, part 5.
This eliminates all methods on `Map`. Actually removing `Map` will occur in a follow-up PR.
This commit is contained in:
parent
0b4a81a4ef
commit
6713f34ee4
75 changed files with 175 additions and 208 deletions
|
@ -256,7 +256,7 @@ pub(crate) fn eval_to_valtree<'tcx>(
|
|||
Err(err) => {
|
||||
let did = cid.instance.def_id();
|
||||
let global_const_id = cid.display(tcx);
|
||||
let span = tcx.hir().span_if_local(did);
|
||||
let span = tcx.hir_span_if_local(did);
|
||||
match err {
|
||||
ValTreeCreationError::NodesOverflow => {
|
||||
let handled =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue