mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-02 15:25:38 +00:00
fix(rustup): Update serde_codegen to reflect Registry move
This commit is contained in:
parent
966b104d48
commit
09822c99cc
@ -1,10 +1,10 @@
|
|||||||
#![feature(plugin_registrar, rustc_private)]
|
#![feature(plugin_registrar, rustc_private)]
|
||||||
|
|
||||||
extern crate serde_codegen;
|
extern crate serde_codegen;
|
||||||
extern crate rustc;
|
extern crate rustc_plugin;
|
||||||
|
|
||||||
#[plugin_registrar]
|
#[plugin_registrar]
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub fn plugin_registrar(reg: &mut rustc::plugin::Registry) {
|
pub fn plugin_registrar(reg: &mut rustc_plugin::Registry) {
|
||||||
serde_codegen::register(reg);
|
serde_codegen::register(reg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user