Skip to content

Commit 191abc4

Browse files
committed
Remove unused extern crates.
1 parent 356fa2c commit 191abc4

File tree

29 files changed

+0
-76
lines changed

29 files changed

+0
-76
lines changed

src/Cargo.lock

Lines changed: 0 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/libproc_macro_plugin/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ crate-type = ["dylib"]
1111
log = { path = "../liblog" }
1212
rustc_plugin = { path = "../librustc_plugin" }
1313
syntax = { path = "../libsyntax" }
14-
syntax_pos = { path = "../libsyntax_pos" }
1514
proc_macro_tokens = { path = "../libproc_macro_tokens" }

src/libproc_macro_plugin/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888

8989
extern crate rustc_plugin;
9090
extern crate syntax;
91-
extern crate syntax_pos;
9291
extern crate proc_macro_tokens;
9392
#[macro_use] extern crate log;
9493

src/libproc_macro_tokens/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ crate-type = ["dylib"]
1010

1111
[dependencies]
1212
syntax = { path = "../libsyntax" }
13-
syntax_pos = { path = "../libsyntax_pos" }
14-
log = { path = "../liblog" }

src/libproc_macro_tokens/build.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
extern crate syntax;
12-
extern crate syntax_pos;
13-
1411
use syntax::ast::Ident;
1512
use syntax::codemap::DUMMY_SP;
1613
use syntax::parse::token::{self, Token};

src/libproc_macro_tokens/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@
5858
#![feature(rustc_private)]
5959

6060
extern crate syntax;
61-
extern crate syntax_pos;
62-
extern crate log;
6361

6462
pub mod build;
6563
pub mod parse;

src/libproc_macro_tokens/parse.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
//! Parsing utilities for writing procedural macros.
1212
13-
extern crate syntax;
14-
1513
use syntax::parse::{ParseSess, filemap_to_tts};
1614
use syntax::tokenstream::TokenStream;
1715

src/librustc/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ crate-type = ["dylib"]
1010

1111
[dependencies]
1212
arena = { path = "../libarena" }
13-
flate = { path = "../libflate" }
1413
fmt_macros = { path = "../libfmt_macros" }
1514
graphviz = { path = "../libgraphviz" }
1615
log = { path = "../liblog" }

src/librustc/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#![feature(associated_consts)]
2727
#![feature(box_patterns)]
2828
#![feature(box_syntax)]
29-
#![feature(collections)]
3029
#![feature(conservative_impl_trait)]
3130
#![feature(const_fn)]
3231
#![feature(core_intrinsics)]
@@ -39,11 +38,9 @@
3938
#![feature(slice_patterns)]
4039
#![feature(staged_api)]
4140
#![feature(unboxed_closures)]
42-
#![cfg_attr(test, feature(test))]
4341

4442
extern crate arena;
4543
extern crate core;
46-
extern crate flate;
4744
extern crate fmt_macros;
4845
extern crate getopts;
4946
extern crate graphviz;
@@ -52,7 +49,6 @@ extern crate rustc_llvm as llvm;
5249
extern crate rustc_back;
5350
extern crate rustc_data_structures;
5451
extern crate serialize;
55-
extern crate collections;
5652
extern crate rustc_const_math;
5753
extern crate rustc_errors as errors;
5854
#[macro_use] extern crate log;
@@ -65,9 +61,6 @@ extern crate serialize as rustc_serialize; // used by deriving
6561
// SNAP:
6662
extern crate rustc_i128;
6763

68-
#[cfg(test)]
69-
extern crate test;
70-
7164
#[macro_use]
7265
mod macros;
7366

src/librustc_const_eval/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ crate-type = ["dylib"]
1111
[dependencies]
1212
arena = { path = "../libarena" }
1313
log = { path = "../liblog" }
14-
serialize = { path = "../libserialize" }
1514
rustc = { path = "../librustc" }
1615
rustc_back = { path = "../librustc_back" }
1716
rustc_const_math = { path = "../librustc_const_math" }

0 commit comments

Comments
 (0)