diff --git a/src/cargo/core/compiler/job_queue/mod.rs b/src/cargo/core/compiler/job_queue/mod.rs index 0607a830596..38fdbff6357 100644 --- a/src/cargo/core/compiler/job_queue/mod.rs +++ b/src/cargo/core/compiler/job_queue/mod.rs @@ -964,7 +964,7 @@ impl<'gctx> DrainState<'gctx> { } fn emit_log_messages( - &mut self, + &self, unit: &Unit, build_runner: &mut BuildRunner<'_, '_>, show_warnings: bool,