diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-18 06:21:26 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-18 16:06:21 +1100 |
| commit | b60e2085493f2c966195532fc3bddcddb866ff84 (patch) | |
| tree | 988c6a643399d70018bcc5565dd4ef96655a9547 | |
| parent | b44315c34c12ae7c6e70f60204ba751c47ebd98e (diff) | |
| download | rust-b60e2085493f2c966195532fc3bddcddb866ff84.tar.gz rust-b60e2085493f2c966195532fc3bddcddb866ff84.zip | |
Rename `Session::span_diagnostic` as `Session::dcx`.
| -rw-r--r-- | src/driver/aot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/aot.rs b/src/driver/aot.rs index 11229dd421e..b3ab533df3d 100644 --- a/src/driver/aot.rs +++ b/src/driver/aot.rs @@ -422,7 +422,7 @@ pub(crate) fn run_aot( backend_config.clone(), global_asm_config.clone(), cgu.name(), - concurrency_limiter.acquire(tcx.sess.diagnostic()), + concurrency_limiter.acquire(tcx.sess.dcx()), ), module_codegen, Some(rustc_middle::dep_graph::hash_result), |
