diff --git a/regex_macros/Cargo.toml b/regex_macros/Cargo.toml index 2410beda98..b4cc5c7a67 100644 --- a/regex_macros/Cargo.toml +++ b/regex_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "regex_macros" -version = "0.1.23" +version = "0.1.24" authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rust-lang/regex" diff --git a/regex_macros/src/lib.rs b/regex_macros/src/lib.rs index 83197644dd..ff41c71b7b 100644 --- a/regex_macros/src/lib.rs +++ b/regex_macros/src/lib.rs @@ -19,7 +19,7 @@ extern crate regex; extern crate syntax; -extern crate rustc; +extern crate rustc_plugin; use syntax::ast; use syntax::codemap; @@ -30,7 +30,7 @@ use syntax::print::pprust; use syntax::fold::Folder; use syntax::ptr::P; -use rustc::plugin::Registry; +use rustc_plugin::Registry; use regex::Regex; use regex::internal::{