about summary refs log tree commit diff
path: root/src/librustc_plugin
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2018-04-08 13:44:29 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2018-05-05 20:36:46 +0200
commite24cbe2da07f1a713bd50a8f30792b145633795e (patch)
treed59fede3658c2e64b9f9fd0497eabe5bdac1f8b0 /src/librustc_plugin
parentc338bd539ea9ab1d33c0af8c6deed0cf4738b70c (diff)
downloadrust-e24cbe2da07f1a713bd50a8f30792b145633795e.tar.gz
rust-e24cbe2da07f1a713bd50a8f30792b145633795e.zip
Misc tweaks
Diffstat (limited to 'src/librustc_plugin')
-rw-r--r--src/librustc_plugin/lib.rs1
-rw-r--r--src/librustc_plugin/registry.rs2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/librustc_plugin/lib.rs b/src/librustc_plugin/lib.rs
index 622d8e51a6c..348aa6a7cef 100644
--- a/src/librustc_plugin/lib.rs
+++ b/src/librustc_plugin/lib.rs
@@ -65,7 +65,6 @@
        html_root_url = "https://doc.rust-lang.org/nightly/")]
 
 #![feature(rustc_diagnostic_macros)]
-#![feature(staged_api)]
 
 #[macro_use] extern crate syntax;
 
diff --git a/src/librustc_plugin/registry.rs b/src/librustc_plugin/registry.rs
index ebfd8785a0a..7e3c411c1d2 100644
--- a/src/librustc_plugin/registry.rs
+++ b/src/librustc_plugin/registry.rs
@@ -128,8 +128,6 @@ impl<'a> Registry<'a> {
     /// This can be used in place of `register_syntax_extension` to register legacy custom derives
     /// (i.e. attribute syntax extensions whose name begins with `derive_`). Legacy custom
     /// derives defined by this function do not trigger deprecation warnings when used.
-    #[unstable(feature = "rustc_private", issue = "27812")]
-    #[rustc_deprecated(since = "1.15.0", reason = "replaced by macros 1.1 (RFC 1861)")]
     pub fn register_custom_derive(&mut self, name: ast::Name, extension: SyntaxExtension) {
         assert!(name.as_str().starts_with("derive_"));
         self.whitelisted_custom_derives.push(name);