This repository was archived by the owner on May 6, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ extern crate syntex_syntax as syntax;
22
22
extern crate syntax;
23
23
24
24
#[ cfg( not( feature = "with-syntex" ) ) ]
25
- extern crate rustc ;
25
+ extern crate rustc_plugin ;
26
26
27
27
use syntax:: ast;
28
28
use syntax:: codemap:: Span ;
@@ -739,7 +739,7 @@ pub fn register(reg: &mut syntex::Registry) {
739
739
}
740
740
741
741
#[ cfg( not( feature = "syntex" ) ) ]
742
- pub fn register ( reg : & mut rustc :: plugin :: Registry ) {
742
+ pub fn register ( reg : & mut rustc_plugin :: Registry ) {
743
743
reg. register_macro ( "quote_tokens" , expand_quote_tokens) ;
744
744
reg. register_macro ( "quote_ty" , expand_quote_ty) ;
745
745
reg. register_macro ( "quote_expr" , expand_quote_expr) ;
Original file line number Diff line number Diff line change 11
11
#![ feature( plugin_registrar, unboxed_closures, rustc_private) ]
12
12
13
13
extern crate quasi_codegen;
14
- extern crate rustc ;
14
+ extern crate rustc_plugin ;
15
15
16
16
#[ plugin_registrar]
17
17
#[ doc( hidden) ]
18
- pub fn plugin_registrar ( reg : & mut rustc :: plugin :: Registry ) {
18
+ pub fn plugin_registrar ( reg : & mut rustc_plugin :: Registry ) {
19
19
quasi_codegen:: register ( reg) ;
20
20
}
You can’t perform that action at this time.
0 commit comments