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

@ -291,18 +291,6 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
),
// Plugins:
(
sym::plugin_registrar, Normal, template!(Word),
Gated(
Stability::Deprecated(
"https://github.com/rust-lang/rust/pull/64675",
Some("may be removed in a future compiler version"),
),
sym::plugin_registrar,
"compiler plugins are deprecated",
cfg_fn!(plugin_registrar)
)
),
(
sym::plugin, CrateLevel, template!(List: "name"),
Gated(