summary refs log tree commit diff
path: root/src/rustc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-04-05 11:18:24 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-04-12 15:55:14 -0700
commit7bfaeaaf9c41439f9de0cfb03680909de2ca4004 (patch)
tree94319a9f35a586b21c277a424f5a12944e1b4fb5 /src/rustc
parent9dd3c54a2c787c79037f5c772b12c7d2d2f87b18 (diff)
downloadrust-7bfaeaaf9c41439f9de0cfb03680909de2ca4004.tar.gz
rust-7bfaeaaf9c41439f9de0cfb03680909de2ca4004.zip
tidy: Add a check to ensure Cargo.toml is in sync
This verifies that the crates listed in the `[dependencies]` section of
`Cargo.toml` are a subset of the crates listed in `lib.rs` for our in-tree
crates. This should help ensure that when we refactor crates over time we keep
these dependency lists in sync.
Diffstat (limited to 'src/rustc')
-rw-r--r--src/rustc/test_shim/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rustc/test_shim/lib.rs b/src/rustc/test_shim/lib.rs
index a626c9440d8..d614d967e3b 100644
--- a/src/rustc/test_shim/lib.rs
+++ b/src/rustc/test_shim/lib.rs
@@ -9,3 +9,7 @@
 // except according to those terms.
 
 // See comments in Cargo.toml for why this exists
+
+#![feature(test)]
+
+extern crate test;