@@ -26,7 +26,6 @@ pub(crate) enum Notification<'a> {
2626 /// member, but the notification callback is already narrowed to
2727 /// utils::notifications by the time tar unpacking is called.
2828 SetDefaultBufferSize ( usize ) ,
29- SetDefaultToolchain ( Option < & ' a ToolchainName > ) ,
3029 SetOverrideToolchain ( & ' a Path , & ' a str ) ,
3130 SetProfile ( & ' a str ) ,
3231 SetSelfUpdate ( & ' a str ) ,
@@ -69,8 +68,7 @@ impl Notification<'_> {
6968 | ReadMetadataVersion ( _)
7069 | InstalledToolchain ( _)
7170 | UpdateHashMatches => NotificationLevel :: Debug ,
72- SetDefaultToolchain ( _)
73- | SetOverrideToolchain ( _, _)
71+ SetOverrideToolchain ( _, _)
7472 | SetProfile ( _)
7573 | SetSelfUpdate ( _)
7674 | UsingExistingToolchain ( _)
@@ -106,8 +104,6 @@ impl Display for Notification<'_> {
106104 DownloadDataReceived ( data, _) => write ! ( f, "received some data of size {}" , data. len( ) ) ,
107105 DownloadFinished ( _) => write ! ( f, "download finished" ) ,
108106 DownloadFailed ( _) => write ! ( f, "download failed" ) ,
109- SetDefaultToolchain ( None ) => write ! ( f, "default toolchain unset" ) ,
110- SetDefaultToolchain ( Some ( name) ) => write ! ( f, "default toolchain set to '{name}'" ) ,
111107 SetOverrideToolchain ( path, name) => write ! (
112108 f,
113109 "override toolchain for '{}' set to '{}'" ,
0 commit comments