about summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-05-14 15:37:53 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-08-10 14:20:48 +0200
commita501308ec1601c2b1d50230a061fb2700940727d (patch)
tree4c382ec2525a497a8ed11c6097d85dd8870e70c0 /compiler/rustc_session/src
parent2d10c2a3302d53e10a4ad3ac581103faaae9eeb6 (diff)
Replace #[plugin_registrar] with exporting __rustc_plugin_registrar
Diffstat (limited to 'compiler/rustc_session/src')
-rw-r--r--compiler/rustc_session/src/session.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_session/src/session.rs b/compiler/rustc_session/src/session.rs
index d5c759623e3..0b1a99922d6 100644
--- a/compiler/rustc_session/src/session.rs
+++ b/compiler/rustc_session/src/session.rs
@@ -792,12 +792,6 @@ impl Session {
             )
     }
 
-    /// Returns the symbol name for the registrar function,
-    /// given the crate `Svh` and the function `DefIndex`.
-    pub fn generate_plugin_registrar_symbol(&self, stable_crate_id: StableCrateId) -> String {
-        format!("__rustc_plugin_registrar_{:08x}__", stable_crate_id.to_u64())
-    }
-
     pub fn generate_proc_macro_decls_symbol(&self, stable_crate_id: StableCrateId) -> String {
         format!("__rustc_proc_macro_decls_{:08x}__", stable_crate_id.to_u64())
     }