We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
stable
beta
components_missing_msg()
1 parent 4f8c883 commit f20255aCopy full SHA for f20255a
src/dist/mod.rs
@@ -99,6 +99,20 @@ Then you can use the toolchain with commands such as:
99
100
cargo +nightly-2018-12-27 build"
101
);
102
+ } else if ["beta", "stable"].iter().any(|&p| toolchain.starts_with(p)) {
103
+ let _ = write!(
104
+ buf,
105
+ "\
106
+One or many components listed above might have been permanently removed from newer versions
107
+of the official Rust distribution due to deprecation.
108
+
109
+If you are updating an existing toolchain, after determining the deprecated component(s)
110
+in question, please remove them with a command such as:
111
112
+ rustup component remove --toolchain {toolchain} <COMPONENT>...
113
114
+After that, you should be able to continue with the update as usual.",
115
+ );
116
}
117
118
String::from_utf8(buf).unwrap()
0 commit comments