Skip to content

Commit b60e208

Browse files
committed
Rename Session::span_diagnostic as Session::dcx.
1 parent b44315c commit b60e208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver/aot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ pub(crate) fn run_aot(
422422
backend_config.clone(),
423423
global_asm_config.clone(),
424424
cgu.name(),
425-
concurrency_limiter.acquire(tcx.sess.diagnostic()),
425+
concurrency_limiter.acquire(tcx.sess.dcx()),
426426
),
427427
module_codegen,
428428
Some(rustc_middle::dep_graph::hash_result),

0 commit comments

Comments
 (0)