Replace #[plugin_registrar] with exporting __rustc_plugin_registrar
This commit is contained in:
parent
2d10c2a330
commit
a501308ec1
35 changed files with 287 additions and 556 deletions
|
@ -741,7 +741,6 @@ pub static DEFAULT_QUERY_PROVIDERS: SyncLazy<Providers> = SyncLazy::new(|| {
|
|||
let providers = &mut Providers::default();
|
||||
providers.analysis = analysis;
|
||||
proc_macro_decls::provide(providers);
|
||||
plugin::build::provide(providers);
|
||||
rustc_middle::hir::provide(providers);
|
||||
mir::provide(providers);
|
||||
mir_build::provide(providers);
|
||||
|
@ -856,8 +855,6 @@ fn analysis(tcx: TyCtxt<'_>, (): ()) -> Result<()> {
|
|||
{
|
||||
entry_point = sess.time("looking_for_entry_point", || tcx.entry_fn(()));
|
||||
|
||||
sess.time("looking_for_plugin_registrar", || tcx.ensure().plugin_registrar_fn(()));
|
||||
|
||||
sess.time("looking_for_derive_registrar", || {
|
||||
tcx.ensure().proc_macro_decls_static(())
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue