about summary refs log tree commit diff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2017-01-11 02:34:30 +0100
committerest31 <MTest31@outlook.com>2017-01-12 23:53:02 +0100
commitbdee52e94d3f8ac8cd1bb649529a43f8b893d9a7 (patch)
tree1c2c5db67361303e827af349c6670d08fe8a0f0c
parent6a29fab274ff72e429b9d323f204a0617d53d8e3 (diff)
downloadrust-bdee52e94d3f8ac8cd1bb649529a43f8b893d9a7.tar.gz
rust-bdee52e94d3f8ac8cd1bb649529a43f8b893d9a7.zip
Add docs
-rw-r--r--COMPILER_TESTS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/COMPILER_TESTS.md b/COMPILER_TESTS.md
index 91975c1f9ed..58df1aae6d3 100644
--- a/COMPILER_TESTS.md
+++ b/COMPILER_TESTS.md
@@ -45,6 +45,10 @@ whole, instead of just a few lines inside the test.
 * `should-fail` indicates that the test should fail; used for "meta testing",
   where we test the compiletest program itself to check that it will generate
   errors in appropriate scenarios. This header is ignored for pretty-printer tests.
+* `gate-test-X` where `X` is a feature marks the test as "gate test" for feature X.
+  Such tests are supposed to ensure that the compiler errors when usage of a gated
+  feature is attempted without the proper `#![feature(X)]` tag.
+  Each unstable lang feature is required to have a gate test.
 
 ## Revisions