@@ -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- ForcingUnavailableComponent ( & ' a str ) ,
1817 StrayHash ( & ' a Path ) ,
1918 RetryingDownload ( & ' a str ) ,
2019 DownloadingFile ( & ' a Url ) ,
@@ -63,9 +62,7 @@ impl Notification<'_> {
6362 match self {
6463 FileAlreadyDownloaded => NotificationLevel :: Debug ,
6564 DownloadingComponent ( _, _, _, _) | RetryingDownload ( _) => NotificationLevel :: Info ,
66- CachedFileChecksumFailed | ForcingUnavailableComponent ( _) | StrayHash ( _) => {
67- NotificationLevel :: Warn
68- }
65+ CachedFileChecksumFailed | StrayHash ( _) => NotificationLevel :: Warn ,
6966 SetDefaultBufferSize ( _) => NotificationLevel :: Trace ,
7067 DownloadingFile ( _)
7168 | DownloadContentLengthReceived ( _, _)
@@ -113,9 +110,6 @@ impl Display for Notification<'_> {
113110 "removing stray hash found at '{}' in order to continue" ,
114111 path. display( )
115112 ) ,
116- ForcingUnavailableComponent ( component) => {
117- write ! ( f, "Force-skipping unavailable component '{component}'" )
118- }
119113 RetryingDownload ( url) => write ! ( f, "retrying download for '{url}'" ) ,
120114 SetDefaultBufferSize ( size) => write ! (
121115 f,
0 commit comments