Skip to content

Commit 07662c9

Browse files
committed
refactor(compile): Name boolean parameters
1 parent d58031b commit 07662c9

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
@@ -632,7 +632,9 @@ impl<'gctx> DrainState<'gctx> {
632632
if warning_handling != WarningHandling::Allow {
633633
build_runner.bcx.gctx.shell().warn(warning)?;
634634
}
635-
self.bump_warning_count(id, true, false);
635+
let emitted = true;
636+
let fixable = false;
637+
self.bump_warning_count(id, emitted, fixable);
636638
}
637639
Message::WarningCount {
638640
id,

0 commit comments

Comments
 (0)