Skip to content

Commit

Permalink
Change deprecation warning to indicate custom derive support was remo…
Browse files Browse the repository at this point in the history
…ved from the current compiler version
  • Loading branch information
JordiPolo committed Feb 7, 2017
1 parent fc02736 commit b74e668
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/libsyntax/feature_gate.rs
Expand Up @@ -957,12 +957,11 @@ pub const EXPLAIN_ALLOW_INTERNAL_UNSTABLE: &'static str =
"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";
Expand Down

0 comments on commit b74e668

Please sign in to comment.