@@ -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
- ForcingUnavailableComponent ( & ' a str ) ,
18
17
StrayHash ( & ' a Path ) ,
19
18
RetryingDownload ( & ' a str ) ,
20
19
DownloadingFile ( & ' a Url ) ,
@@ -63,9 +62,7 @@ impl Notification<'_> {
63
62
match self {
64
63
FileAlreadyDownloaded => NotificationLevel :: Debug ,
65
64
DownloadingComponent ( _, _, _, _) | RetryingDownload ( _) => NotificationLevel :: Info ,
66
- CachedFileChecksumFailed | ForcingUnavailableComponent ( _) | StrayHash ( _) => {
67
- NotificationLevel :: Warn
68
- }
65
+ CachedFileChecksumFailed | StrayHash ( _) => NotificationLevel :: Warn ,
69
66
SetDefaultBufferSize ( _) => NotificationLevel :: Trace ,
70
67
DownloadingFile ( _)
71
68
| DownloadContentLengthReceived ( _, _)
@@ -113,9 +110,6 @@ impl Display for Notification<'_> {
113
110
"removing stray hash found at '{}' in order to continue" ,
114
111
path. display( )
115
112
) ,
116
- ForcingUnavailableComponent ( component) => {
117
- write ! ( f, "Force-skipping unavailable component '{component}'" )
118
- }
119
113
RetryingDownload ( url) => write ! ( f, "retrying download for '{url}'" ) ,
120
114
SetDefaultBufferSize ( size) => write ! (
121
115
f,
0 commit comments