@@ -26,7 +26,6 @@ pub(crate) enum Notification<'a> {
26
26
/// member, but the notification callback is already narrowed to
27
27
/// utils::notifications by the time tar unpacking is called.
28
28
SetDefaultBufferSize ( usize ) ,
29
- SetDefaultToolchain ( Option < & ' a ToolchainName > ) ,
30
29
SetOverrideToolchain ( & ' a Path , & ' a str ) ,
31
30
SetProfile ( & ' a str ) ,
32
31
SetSelfUpdate ( & ' a str ) ,
@@ -69,8 +68,7 @@ impl Notification<'_> {
69
68
| ReadMetadataVersion ( _)
70
69
| InstalledToolchain ( _)
71
70
| UpdateHashMatches => NotificationLevel :: Debug ,
72
- SetDefaultToolchain ( _)
73
- | SetOverrideToolchain ( _, _)
71
+ SetOverrideToolchain ( _, _)
74
72
| SetProfile ( _)
75
73
| SetSelfUpdate ( _)
76
74
| UsingExistingToolchain ( _)
@@ -106,8 +104,6 @@ impl Display for Notification<'_> {
106
104
DownloadDataReceived ( data, _) => write ! ( f, "received some data of size {}" , data. len( ) ) ,
107
105
DownloadFinished ( _) => write ! ( f, "download finished" ) ,
108
106
DownloadFailed ( _) => write ! ( f, "download failed" ) ,
109
- SetDefaultToolchain ( None ) => write ! ( f, "default toolchain unset" ) ,
110
- SetDefaultToolchain ( Some ( name) ) => write ! ( f, "default toolchain set to '{name}'" ) ,
111
107
SetOverrideToolchain ( path, name) => write ! (
112
108
f,
113
109
"override toolchain for '{}' set to '{}'" ,
0 commit comments