@@ -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- UpgradingMetadata ( MetadataVersion , MetadataVersion ) ,
3029 MetadataUpgradeNotNeeded ( MetadataVersion ) ,
3130 ReadMetadataVersion ( MetadataVersion ) ,
3231 UpgradeRemovesToolchains ,
@@ -50,7 +49,7 @@ impl Notification<'_> {
5049 | DownloadFinished ( _)
5150 | DownloadFailed ( _) => NotificationLevel :: Debug ,
5251 ReadMetadataVersion ( _) => NotificationLevel :: Debug ,
53- UpgradingMetadata ( _ , _ ) | MetadataUpgradeNotNeeded ( _) => NotificationLevel :: Info ,
52+ MetadataUpgradeNotNeeded ( _) => NotificationLevel :: Info ,
5453 UpgradeRemovesToolchains | DuplicateToolchainFile { .. } => NotificationLevel :: Warn ,
5554 }
5655 }
@@ -79,10 +78,6 @@ impl Display for Notification<'_> {
7978 DownloadDataReceived ( data, _) => write ! ( f, "received some data of size {}" , data. len( ) ) ,
8079 DownloadFinished ( _) => write ! ( f, "download finished" ) ,
8180 DownloadFailed ( _) => write ! ( f, "download failed" ) ,
82- UpgradingMetadata ( from_ver, to_ver) => write ! (
83- f,
84- "upgrading metadata version from '{from_ver}' to '{to_ver}'"
85- ) ,
8681 MetadataUpgradeNotNeeded ( ver) => {
8782 write ! ( f, "nothing to upgrade: metadata version is already '{ver}'" )
8883 }
0 commit comments