Skip to content

Commit d33f651

Browse files
committed
fix(shell): Use a distinct style for transient status
PR #15928 made `Checking` and `Building` the same style because the transient state is `note:` and #15928 made `note:~ the same as our regular headers. This switches the transient state to `help:` until we can further explore color choices with rustc. See also https://rust-lang.zulipchat.com/#narrow/channel/246057-t-cargo/topic/colors.20removed.20in.201.2E91.20.28current.20beta.29.3F/near/541900531
1 parent 92182d4 commit d33f651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/util/style.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ pub const NOTE: Style = annotate_snippets::renderer::DEFAULT_NOTE_STYLE;
1111
pub const GOOD: Style = AnsiColor::BrightGreen.on_default().effects(Effects::BOLD);
1212
pub const VALID: Style = AnsiColor::BrightCyan.on_default().effects(Effects::BOLD);
1313
pub const INVALID: Style = annotate_snippets::renderer::DEFAULT_WARNING_STYLE;
14-
pub const TRANSIENT: Style = NOTE;
14+
pub const TRANSIENT: Style = annotate_snippets::renderer::DEFAULT_HELP_STYLE;

0 commit comments

Comments
 (0)