Skip to content

Commit 1531071

Browse files
authored
Rollup merge of #39545 - JordiPolo:fix/1_15_released, r=jseyfried
Change deprecation warning to indicate custom derive support was removed I'm very new to Rust and the message was confusing to me (using nightly and not really sure if I was > 1.15 or not).
2 parents 4c5b868 + b74e668 commit 1531071

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/libsyntax/feature_gate.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -957,12 +957,11 @@ pub const EXPLAIN_ALLOW_INTERNAL_UNSTABLE: &'static str =
957957
"allow_internal_unstable side-steps feature gating and stability checks";
958958

959959
pub const EXPLAIN_CUSTOM_DERIVE: &'static str =
960-
"`#[derive]` for custom traits is not stable enough for use. It is deprecated and will \
961-
be removed in v1.15";
960+
"`#[derive]` for custom traits is deprecated and will be removed in the future.";
962961

963962
pub const EXPLAIN_DEPR_CUSTOM_DERIVE: &'static str =
964-
"`#[derive]` for custom traits is deprecated and will be removed in v1.15. Prefer using \
965-
procedural macro custom derive";
963+
"`#[derive]` for custom traits is deprecated and will be removed in the future. \
964+
Prefer using procedural macro custom derive.";
966965

967966
pub const EXPLAIN_DERIVE_UNDERSCORE: &'static str =
968967
"attributes of the form `#[derive_*]` are reserved for the compiler";

0 commit comments

Comments
 (0)