@@ -20,7 +20,6 @@ pub enum Notification<'a> {
2020 FileAlreadyDownloaded ,
2121 CachedFileChecksumFailed ,
2222 ExtensionNotInstalled ( & ' a str ) ,
23- NonFatalError ( & ' a anyhow:: Error ) ,
2423 MissingInstalledComponent ( & ' a str ) ,
2524 /// The URL of the download is passed as the last argument, to allow us to track concurrent downloads.
2625 DownloadingComponent ( & ' a str , & ' a TargetTriple , Option < & ' a TargetTriple > , & ' a str ) ,
@@ -108,7 +107,6 @@ impl Notification<'_> {
108107 | ComponentUnavailable ( _, _)
109108 | ForcingUnavailableComponent ( _)
110109 | StrayHash ( _) => NotificationLevel :: Warn ,
111- NonFatalError ( _) => NotificationLevel :: Error ,
112110 SignatureInvalid ( _) => NotificationLevel :: Warn ,
113111 SetDefaultBufferSize ( _) => NotificationLevel :: Trace ,
114112 DownloadingFile ( _, _)
@@ -163,7 +161,6 @@ impl Display for Notification<'_> {
163161 FileAlreadyDownloaded => write ! ( f, "reusing previously downloaded file" ) ,
164162 CachedFileChecksumFailed => write ! ( f, "bad checksum for cached download" ) ,
165163 ExtensionNotInstalled ( c) => write ! ( f, "extension '{c}' was not installed" ) ,
166- NonFatalError ( e) => write ! ( f, "{e}" ) ,
167164 MissingInstalledComponent ( c) => {
168165 write ! ( f, "during uninstall component {c} was not found" )
169166 }
0 commit comments