From b74e668ded0baf4fb6bdb9c3aaa67f8d0c4b27c7 Mon Sep 17 00:00:00 2001 From: Jordi Polo Date: Sun, 5 Feb 2017 08:54:41 +0900 Subject: [PATCH] Change deprecation warning to indicate custom derive support was removed from the current compiler version --- src/libsyntax/feature_gate.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 52ef2a05fcf..a78c192a120 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -957,12 +957,11 @@ pub fn feature_err<'a>(sess: &'a ParseSess, feature: &str, span: Span, issue: Ga "allow_internal_unstable side-steps feature gating and stability checks"; pub const EXPLAIN_CUSTOM_DERIVE: &'static str = - "`#[derive]` for custom traits is not stable enough for use. It is deprecated and will \ - be removed in v1.15"; + "`#[derive]` for custom traits is deprecated and will be removed in the future."; pub const EXPLAIN_DEPR_CUSTOM_DERIVE: &'static str = - "`#[derive]` for custom traits is deprecated and will be removed in v1.15. Prefer using \ - procedural macro custom derive"; + "`#[derive]` for custom traits is deprecated and will be removed in the future. \ + Prefer using procedural macro custom derive."; pub const EXPLAIN_DERIVE_UNDERSCORE: &'static str = "attributes of the form `#[derive_*]` are reserved for the compiler";