@@ -15,8 +15,6 @@ pub(crate) enum Notification<'a> {
1515 CachedFileChecksumFailed ,
1616 /// The URL of the download is passed as the last argument, to allow us to track concurrent downloads.
1717 DownloadingComponent ( & ' a str , & ' a TargetTriple , Option < & ' a TargetTriple > , & ' a str ) ,
18- RemovingComponent ( & ' a str , & ' a TargetTriple , Option < & ' a TargetTriple > ) ,
19- RemovingOldComponent ( & ' a str , & ' a TargetTriple , Option < & ' a TargetTriple > ) ,
2018 DownloadingManifest ( & ' a str ) ,
2119 DownloadedManifest ( & ' a str , Option < & ' a str > ) ,
2220 DownloadingLegacyManifest ,
@@ -70,8 +68,6 @@ impl Notification<'_> {
7068 match self {
7169 FileAlreadyDownloaded | DownloadingLegacyManifest => NotificationLevel :: Debug ,
7270 DownloadingComponent ( _, _, _, _)
73- | RemovingComponent ( _, _, _)
74- | RemovingOldComponent ( _, _, _)
7571 | DownloadingManifest ( _)
7672 | SkippingNightlyMissingComponent ( _, _, _)
7773 | RetryingDownload ( _)
@@ -121,25 +117,6 @@ impl Display for Notification<'_> {
121117 write ! ( f, "downloading component '{}' for '{}'" , c, t. unwrap( ) )
122118 }
123119 }
124- RemovingComponent ( c, h, t) => {
125- if Some ( h) == t. as_ref ( ) || t. is_none ( ) {
126- write ! ( f, "removing component '{c}'" )
127- } else {
128- write ! ( f, "removing component '{}' for '{}'" , c, t. unwrap( ) )
129- }
130- }
131- RemovingOldComponent ( c, h, t) => {
132- if Some ( h) == t. as_ref ( ) || t. is_none ( ) {
133- write ! ( f, "removing previous version of component '{c}'" )
134- } else {
135- write ! (
136- f,
137- "removing previous version of component '{}' for '{}'" ,
138- c,
139- t. unwrap( )
140- )
141- }
142- }
143120 DownloadingManifest ( t) => write ! ( f, "syncing channel updates for '{t}'" ) ,
144121 DownloadedManifest ( date, Some ( version) ) => {
145122 write ! ( f, "latest update on {date}, rust version {version}" )
0 commit comments