@@ -14,7 +14,6 @@ pub(crate) enum Notification<'a> {
1414 CachedFileChecksumFailed ,
1515 /// The URL of the download is passed as the last argument, to allow us to track concurrent downloads.
1616 DownloadingComponent ( & ' a str , & ' a TargetTriple , Option < & ' a TargetTriple > , & ' a str ) ,
17- StrayHash ( & ' a Path ) ,
1817 RetryingDownload ( & ' a str ) ,
1918 DownloadingFile ( & ' a Url ) ,
2019 /// Received the Content-Length of the to-be downloaded data with
@@ -62,7 +61,7 @@ impl Notification<'_> {
6261 match self {
6362 FileAlreadyDownloaded => NotificationLevel :: Debug ,
6463 DownloadingComponent ( _, _, _, _) | RetryingDownload ( _) => NotificationLevel :: Info ,
65- CachedFileChecksumFailed | StrayHash ( _ ) => NotificationLevel :: Warn ,
64+ CachedFileChecksumFailed => NotificationLevel :: Warn ,
6665 SetDefaultBufferSize ( _) => NotificationLevel :: Trace ,
6766 DownloadingFile ( _)
6867 | DownloadContentLengthReceived ( _, _)
@@ -105,11 +104,6 @@ impl Display for Notification<'_> {
105104 write ! ( f, "downloading component '{}' for '{}'" , c, t. unwrap( ) )
106105 }
107106 }
108- StrayHash ( path) => write ! (
109- f,
110- "removing stray hash found at '{}' in order to continue" ,
111- path. display( )
112- ) ,
113107 RetryingDownload ( url) => write ! ( f, "retrying download for '{url}'" ) ,
114108 SetDefaultBufferSize ( size) => write ! (
115109 f,
0 commit comments