1
Fork 0

Rename ty_def_id so people will stop using it by accident

This commit is contained in:
Michael Goulet 2024-12-13 16:18:37 +00:00
parent 4847d6a9d0
commit efb66e7e38
6 changed files with 17 additions and 19 deletions

View file

@ -349,9 +349,9 @@ pub(crate) fn create_query_frame<
hasher.finish::<Hash64>()
})
};
let ty_def_id = key.ty_def_id();
let def_id_for_ty_in_cycle = key.def_id_for_ty_in_cycle();
QueryStackFrame::new(description, span, def_id, def_kind, kind, ty_def_id, hash)
QueryStackFrame::new(description, span, def_id, def_kind, kind, def_id_for_ty_in_cycle, hash)
}
pub(crate) fn encode_query_results<'a, 'tcx, Q>(