@@ -26,7 +26,6 @@ pub(crate) enum Notification<'a> {
2626 /// member, but the notification callback is already narrowed to
2727 /// utils::notifications by the time tar unpacking is called.
2828 SetDefaultBufferSize ( usize ) ,
29- MetadataUpgradeNotNeeded ( MetadataVersion ) ,
3029 ReadMetadataVersion ( MetadataVersion ) ,
3130 UpgradeRemovesToolchains ,
3231 /// Both `rust-toolchain` and `rust-toolchain.toml` exist within a directory
@@ -49,7 +48,6 @@ impl Notification<'_> {
4948 | DownloadFinished ( _)
5049 | DownloadFailed ( _) => NotificationLevel :: Debug ,
5150 ReadMetadataVersion ( _) => NotificationLevel :: Debug ,
52- MetadataUpgradeNotNeeded ( _) => NotificationLevel :: Info ,
5351 UpgradeRemovesToolchains | DuplicateToolchainFile { .. } => NotificationLevel :: Warn ,
5452 }
5553 }
@@ -78,9 +76,6 @@ impl Display for Notification<'_> {
7876 DownloadDataReceived ( data, _) => write ! ( f, "received some data of size {}" , data. len( ) ) ,
7977 DownloadFinished ( _) => write ! ( f, "download finished" ) ,
8078 DownloadFailed ( _) => write ! ( f, "download failed" ) ,
81- MetadataUpgradeNotNeeded ( ver) => {
82- write ! ( f, "nothing to upgrade: metadata version is already '{ver}'" )
83- }
8479 ReadMetadataVersion ( ver) => write ! ( f, "read metadata version: '{ver}'" ) ,
8580 UpgradeRemovesToolchains => write ! (
8681 f,
0 commit comments