Warn when reexporting a private extern crate

This commit is contained in:
Jeffrey Seyfried 2016-02-02 09:39:59 +00:00
parent 3358fb11da
commit f8d6dcf46e
5 changed files with 24 additions and 13 deletions

View file

@ -51,7 +51,7 @@ extern crate getopts;
extern crate graphviz;
extern crate libc;
extern crate rbml;
extern crate rustc_llvm;
pub extern crate rustc_llvm as llvm;
extern crate rustc_back;
extern crate rustc_front;
extern crate rustc_data_structures;
@ -66,8 +66,6 @@ extern crate serialize as rustc_serialize; // used by deriving
#[cfg(test)]
extern crate test;
pub use rustc_llvm as llvm;
#[macro_use]
mod macros;