@@ -15,7 +15,6 @@ pub(crate) enum Notification<'a> {
15
15
CachedFileChecksumFailed ,
16
16
/// The URL of the download is passed as the last argument, to allow us to track concurrent downloads.
17
17
DownloadingComponent ( & ' a str , & ' a TargetTriple , Option < & ' a TargetTriple > , & ' a str ) ,
18
- InstallingComponent ( & ' a str , & ' a TargetTriple , Option < & ' a TargetTriple > ) ,
19
18
RemovingComponent ( & ' a str , & ' a TargetTriple , Option < & ' a TargetTriple > ) ,
20
19
RemovingOldComponent ( & ' a str , & ' a TargetTriple , Option < & ' a TargetTriple > ) ,
21
20
DownloadingManifest ( & ' a str ) ,
@@ -71,7 +70,6 @@ impl Notification<'_> {
71
70
match self {
72
71
FileAlreadyDownloaded | DownloadingLegacyManifest => NotificationLevel :: Debug ,
73
72
DownloadingComponent ( _, _, _, _)
74
- | InstallingComponent ( _, _, _)
75
73
| RemovingComponent ( _, _, _)
76
74
| RemovingOldComponent ( _, _, _)
77
75
| DownloadingManifest ( _)
@@ -123,13 +121,6 @@ impl Display for Notification<'_> {
123
121
write ! ( f, "downloading component '{}' for '{}'" , c, t. unwrap( ) )
124
122
}
125
123
}
126
- InstallingComponent ( c, h, t) => {
127
- if Some ( h) == t. as_ref ( ) || t. is_none ( ) {
128
- write ! ( f, "installing component '{c}'" )
129
- } else {
130
- write ! ( f, "installing component '{}' for '{}'" , c, t. unwrap( ) )
131
- }
132
- }
133
124
RemovingComponent ( c, h, t) => {
134
125
if Some ( h) == t. as_ref ( ) || t. is_none ( ) {
135
126
write ! ( f, "removing component '{c}'" )
0 commit comments