Skip to content

Commit 26b4ebb

Browse files
committed
refactor(compile): Name boolean parameters
1 parent 0f14d9d commit 26b4ebb

File tree

1 file changed

+3
-1
lines changed
  • src/cargo/core/compiler/job_queue

1 file changed

+3
-1
lines changed

src/cargo/core/compiler/job_queue/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,9 @@ impl<'gctx> DrainState<'gctx> {
645645
if warning_handling != WarningHandling::Allow {
646646
build_runner.bcx.gctx.shell().warn(warning)?;
647647
}
648-
self.bump_warning_count(id, true, false);
648+
let emitted = true;
649+
let fixable = false;
650+
self.bump_warning_count(id, emitted, fixable);
649651
}
650652
Message::WarningCount {
651653
id,

0 commit comments

Comments
 (0)