@@ -20,7 +20,6 @@ pub enum Notification<'a> {
20
20
FileAlreadyDownloaded ,
21
21
CachedFileChecksumFailed ,
22
22
ExtensionNotInstalled ( & ' a str ) ,
23
- NonFatalError ( & ' a anyhow:: Error ) ,
24
23
MissingInstalledComponent ( & ' a str ) ,
25
24
/// The URL of the download is passed as the last argument, to allow us to track concurrent downloads.
26
25
DownloadingComponent ( & ' a str , & ' a TargetTriple , Option < & ' a TargetTriple > , & ' a str ) ,
@@ -108,7 +107,6 @@ impl Notification<'_> {
108
107
| ComponentUnavailable ( _, _)
109
108
| ForcingUnavailableComponent ( _)
110
109
| StrayHash ( _) => NotificationLevel :: Warn ,
111
- NonFatalError ( _) => NotificationLevel :: Error ,
112
110
SignatureInvalid ( _) => NotificationLevel :: Warn ,
113
111
SetDefaultBufferSize ( _) => NotificationLevel :: Trace ,
114
112
DownloadingFile ( _, _)
@@ -163,7 +161,6 @@ impl Display for Notification<'_> {
163
161
FileAlreadyDownloaded => write ! ( f, "reusing previously downloaded file" ) ,
164
162
CachedFileChecksumFailed => write ! ( f, "bad checksum for cached download" ) ,
165
163
ExtensionNotInstalled ( c) => write ! ( f, "extension '{c}' was not installed" ) ,
166
- NonFatalError ( e) => write ! ( f, "{e}" ) ,
167
164
MissingInstalledComponent ( c) => {
168
165
write ! ( f, "during uninstall component {c} was not found" )
169
166
}
0 commit comments