#![feature(plugin_registrar, rustc_private)]

extern crate serde_codegen;
extern crate rustc;

#[plugin_registrar]
#[doc(hidden)]
pub fn plugin_registrar(reg: &mut rustc::plugin::Registry) {
    serde_codegen::register(reg);
}

#![feature(plugin_registrar, rustc_private)]

extern crate serde_codegen;
extern crate rustc_plugin;

#[plugin_registrar]
#[doc(hidden)]
pub fn plugin_registrar(reg: &mut rustc_plugin::Registry) {
    serde_codegen::register(reg);
}

Update serde_codegen to reflect Registry move
fix(rustup): Update serde_codegen to reflect Registry move
