diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-11-05 21:04:19 +0100 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-11-06 13:25:06 +0100 |
| commit | 6d26ea86dac0eb987b338bf3ba5f3900fd68f000 (patch) | |
| tree | 58e3926aef58d5e5b5588b7b07eae12bedeb5a99 /compiler/rustc_query_system/src/query/job.rs | |
| parent | 16558bd26740085c5ae3dd27ae1d01cc39d18f2f (diff) | |
| download | rust-6d26ea86dac0eb987b338bf3ba5f3900fd68f000.tar.gz rust-6d26ea86dac0eb987b338bf3ba5f3900fd68f000.zip | |
Rename `Ctxt` and `CTX` to `Tcx` and `Qcx`
This makes it consistent and clear which context is used.
Diffstat (limited to 'compiler/rustc_query_system/src/query/job.rs')
| -rw-r--r-- | compiler/rustc_query_system/src/query/job.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_query_system/src/query/job.rs b/compiler/rustc_query_system/src/query/job.rs index bd21b5465e2..49bbcf57804 100644 --- a/compiler/rustc_query_system/src/query/job.rs +++ b/compiler/rustc_query_system/src/query/job.rs @@ -596,8 +596,8 @@ pub(crate) fn report_cycle<'a>( cycle_diag.into_diagnostic(&sess.parse_sess.span_diagnostic) } -pub fn print_query_stack<CTX: QueryContext>( - qcx: CTX, +pub fn print_query_stack<Qcx: QueryContext>( + qcx: Qcx, mut current_query: Option<QueryJobId>, handler: &Handler, num_frames: Option<usize>, |
