diff --git a/src/cli/rustup_mode.rs b/src/cli/rustup_mode.rs index 570b61206f..f22a9c91f5 100644 --- a/src/cli/rustup_mode.rs +++ b/src/cli/rustup_mode.rs @@ -790,7 +790,7 @@ async fn default_( if let Some((toolchain, source)) = cfg.active_toolchain()? && !matches!(source, ActiveSource::Default) { - info!( + warn!( "note that the toolchain '{toolchain}' is currently in use ({})", source.to_reason() ); diff --git a/tests/suite/cli_rustup.rs b/tests/suite/cli_rustup.rs index 708e3757ec..3213fed9ed 100644 --- a/tests/suite/cli_rustup.rs +++ b/tests/suite/cli_rustup.rs @@ -324,7 +324,7 @@ async fn default_override() { .with_stderr(snapbox::str![[r#" info: using existing install for stable-[HOST_TRIPLE] info: default toolchain set to stable-[HOST_TRIPLE] -info: note that the toolchain 'nightly-[HOST_TRIPLE]' is currently in use (directory override for '[..]') +warn: note that the toolchain 'nightly-[HOST_TRIPLE]' is currently in use (directory override for '[..]') "#]]) .is_ok();