about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-06-03 00:45:49 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-06-04 09:52:31 +0200
commitded5c5a9eeb83ea7ec3c572a601afaaca6a3d9e6 (patch)
tree5e1ff116a505d82fcf0557241556ea8af6c9e7aa /src/test/rustdoc
parentf784d5ead29cad25c05e82e0beb9fb7586f5e462 (diff)
downloadrust-ded5c5a9eeb83ea7ec3c572a601afaaca6a3d9e6.tar.gz
rust-ded5c5a9eeb83ea7ec3c572a601afaaca6a3d9e6.zip
Put doc keyword behind feature flag
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/keyword.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/rustdoc/keyword.rs b/src/test/rustdoc/keyword.rs
index 5682fce7808..06ebf15d364 100644
--- a/src/test/rustdoc/keyword.rs
+++ b/src/test/rustdoc/keyword.rs
@@ -10,6 +10,8 @@
 
 #![crate_name = "foo"]
 
+#![feature(doc_keyword)]
+
 // @has foo/index.html '//h2[@id="keywords"]' 'Keywords'
 // @has foo/index.html '//a[@href="keyword.match.html"]' 'match'
 // @has foo/keyword.match.html '//a[@class="keyword"]' 'match'