@@ -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- SetOverrideToolchain ( & ' a Path , & ' a str ) ,
3029 SetProfile ( & ' a str ) ,
3130 SetSelfUpdate ( & ' a str ) ,
3231 LookingForToolchain ( & ' a ToolchainDesc ) ,
@@ -68,8 +67,7 @@ impl Notification<'_> {
6867 | ReadMetadataVersion ( _)
6968 | InstalledToolchain ( _)
7069 | UpdateHashMatches => NotificationLevel :: Debug ,
71- SetOverrideToolchain ( _, _)
72- | SetProfile ( _)
70+ SetProfile ( _)
7371 | SetSelfUpdate ( _)
7472 | UsingExistingToolchain ( _)
7573 | UninstallingToolchain ( _)
@@ -104,12 +102,6 @@ impl Display for Notification<'_> {
104102 DownloadDataReceived ( data, _) => write ! ( f, "received some data of size {}" , data. len( ) ) ,
105103 DownloadFinished ( _) => write ! ( f, "download finished" ) ,
106104 DownloadFailed ( _) => write ! ( f, "download failed" ) ,
107- SetOverrideToolchain ( path, name) => write ! (
108- f,
109- "override toolchain for '{}' set to '{}'" ,
110- path. display( ) ,
111- name
112- ) ,
113105 SetProfile ( name) => write ! ( f, "profile set to '{name}'" ) ,
114106 SetSelfUpdate ( mode) => write ! ( f, "auto-self-update mode set to '{mode}'" ) ,
115107 LookingForToolchain ( name) => write ! ( f, "looking for installed toolchain '{name}'" ) ,
0 commit comments