Skip to content

Commit b74e668

Browse files
committed
Change deprecation warning to indicate custom derive support was removed from the current compiler version
1 parent fc02736 commit b74e668

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)