From 2a7906e8c1ff2d2fd5fee31dbf778c340e50c832 Mon Sep 17 00:00:00 2001 From: Simon Nilsson Date: Sun, 13 Dec 2015 17:16:54 +0100 Subject: [PATCH] Update mod_path for Rust nightly --- mod_path/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod_path/lib.rs b/mod_path/lib.rs index ce682d5..672b348 100644 --- a/mod_path/lib.rs +++ b/mod_path/lib.rs @@ -2,13 +2,14 @@ extern crate syntax; extern crate rustc; +extern crate rustc_plugin; use syntax::codemap::Span; use syntax::parse::token; use syntax::ast::{TokenTree, Ident}; use syntax::ext::base::{ExtCtxt, MacResult, DummyResult, MacEager, IdentTT, get_single_str_from_tts}; use syntax::util::small_vector::SmallVector; -use rustc::plugin::Registry; +use rustc_plugin::Registry; fn expand_mod_path<'a>(cx: &'a mut ExtCtxt, sp: Span, ident: Ident, tts: Vec) -> Box {