Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Update for https://github.com/rust-lang/rust/pull/30043 #22

Merged
merged 1 commit into from
Nov 29, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
}