@@ -14,7 +14,6 @@ pub(crate) enum Notification<'a> {
14
14
CachedFileChecksumFailed ,
15
15
/// The URL of the download is passed as the last argument, to allow us to track concurrent downloads.
16
16
DownloadingComponent ( & ' a str , & ' a TargetTriple , Option < & ' a TargetTriple > , & ' a str ) ,
17
- StrayHash ( & ' a Path ) ,
18
17
RetryingDownload ( & ' a str ) ,
19
18
DownloadingFile ( & ' a Url ) ,
20
19
/// Received the Content-Length of the to-be downloaded data with
@@ -62,7 +61,7 @@ impl Notification<'_> {
62
61
match self {
63
62
FileAlreadyDownloaded => NotificationLevel :: Debug ,
64
63
DownloadingComponent ( _, _, _, _) | RetryingDownload ( _) => NotificationLevel :: Info ,
65
- CachedFileChecksumFailed | StrayHash ( _ ) => NotificationLevel :: Warn ,
64
+ CachedFileChecksumFailed => NotificationLevel :: Warn ,
66
65
SetDefaultBufferSize ( _) => NotificationLevel :: Trace ,
67
66
DownloadingFile ( _)
68
67
| DownloadContentLengthReceived ( _, _)
@@ -105,11 +104,6 @@ impl Display for Notification<'_> {
105
104
write ! ( f, "downloading component '{}' for '{}'" , c, t. unwrap( ) )
106
105
}
107
106
}
108
- StrayHash ( path) => write ! (
109
- f,
110
- "removing stray hash found at '{}' in order to continue" ,
111
- path. display( )
112
- ) ,
113
107
RetryingDownload ( url) => write ! ( f, "retrying download for '{url}'" ) ,
114
108
SetDefaultBufferSize ( size) => write ! (
115
109
f,
0 commit comments