Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
`rustc::plugin` is now `rustc_plugin`
  • Loading branch information
sgrif committed Nov 27, 2015
1 parent f1da953 commit 31d3254
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions quasi_codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extern crate syntex_syntax as syntax;
extern crate syntax;

#[cfg(not(feature = "with-syntex"))]
extern crate rustc;
extern crate rustc_plugin;

use syntax::ast;
use syntax::codemap::Span;
Expand Down Expand Up @@ -739,7 +739,7 @@ pub fn register(reg: &mut syntex::Registry) {
}

#[cfg(not(feature = "syntex"))]
pub fn register(reg: &mut rustc::plugin::Registry) {
pub fn register(reg: &mut rustc_plugin::Registry) {
reg.register_macro("quote_tokens", expand_quote_tokens);
reg.register_macro("quote_ty", expand_quote_ty);
reg.register_macro("quote_expr", expand_quote_expr);
Expand Down
4 changes: 2 additions & 2 deletions quasi_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
#![feature(plugin_registrar, unboxed_closures, rustc_private)]

extern crate quasi_codegen;
extern crate rustc;
extern crate rustc_plugin;

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

0 comments on commit 31d3254

Please sign in to comment.