diff options
| author | Michael Goulet <michael@errs.io> | 2024-12-13 16:18:37 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-12-13 16:36:38 +0000 |
| commit | efb66e7e385da37015925b23c199efdf3b246d35 (patch) | |
| tree | 764c008f6529ab8d7d1f33dba7ce31046ac14d3e /compiler/rustc_query_impl | |
| parent | 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 (diff) | |
| download | rust-efb66e7e385da37015925b23c199efdf3b246d35.tar.gz rust-efb66e7e385da37015925b23c199efdf3b246d35.zip | |
Rename ty_def_id so people will stop using it by accident
Diffstat (limited to 'compiler/rustc_query_impl')
| -rw-r--r-- | compiler/rustc_query_impl/src/plumbing.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_query_impl/src/plumbing.rs b/compiler/rustc_query_impl/src/plumbing.rs index f72f656b2f8..1b12af62ea5 100644 --- a/compiler/rustc_query_impl/src/plumbing.rs +++ b/compiler/rustc_query_impl/src/plumbing.rs @@ -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>( |
