about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2020-01-08 15:13:50 -0800
committerJosh Stone <jistone@redhat.com>2020-01-08 15:13:50 -0800
commit686d5f83efcd552465ce4ab236f2ffb66c055d90 (patch)
tree027b4b65956d4275018202ea2d2d4500e725d182 /src/tools
parent51b7044347d2cb9e2eae18ad49c79803dda60be2 (diff)
downloadrust-686d5f83efcd552465ce4ab236f2ffb66c055d90.tar.gz
rust-686d5f83efcd552465ce4ab236f2ffb66c055d90.zip
Comment on allowing only feature(test) in compiletest
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/compiletest/src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs
index da1e3760e01..0642823404a 100644
--- a/src/tools/compiletest/src/main.rs
+++ b/src/tools/compiletest/src/main.rs
@@ -1,6 +1,8 @@
 #![crate_name = "compiletest"]
-#![feature(test)]
 #![deny(warnings)]
+// The `test` crate is the only unstable feature
+// allowed here, just to share similar code.
+#![feature(test)]
 
 extern crate test;