1
Fork 0

Replace #[plugin_registrar] with exporting __rustc_plugin_registrar

This commit is contained in:
bjorn3 2021-05-14 15:37:53 +02:00
parent 2d10c2a330
commit a501308ec1
35 changed files with 287 additions and 556 deletions

View file

@ -1252,9 +1252,6 @@ rustc_queries! {
query entry_fn(_: ()) -> Option<(DefId, EntryFnType)> {
desc { "looking up the entry function of a crate" }
}
query plugin_registrar_fn(_: ()) -> Option<LocalDefId> {
desc { "looking up the plugin registrar for a crate" }
}
query proc_macro_decls_static(_: ()) -> Option<LocalDefId> {
desc { "looking up the derive registrar for a crate" }
}