about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2019-04-24 23:45:18 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2019-04-24 23:45:18 +0200
commitf199627e69baccdb44f41e945d189aa04d0df022 (patch)
tree43793dccbbb1806eaf9cc906644ddfed8da267d4 /src/test/rustdoc
parentd676386b1e4ffdbd76e846ccf24c80fb4c7926ba (diff)
downloadrust-f199627e69baccdb44f41e945d189aa04d0df022.tar.gz
rust-f199627e69baccdb44f41e945d189aa04d0df022.zip
Remove useless code and update index page test
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/index-page.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/rustdoc/index-page.rs b/src/test/rustdoc/index-page.rs
index 6998e735297..f0476f083b8 100644
--- a/src/test/rustdoc/index-page.rs
+++ b/src/test/rustdoc/index-page.rs
@@ -1,3 +1,5 @@
+// aux-build:all-item-types.rs
+// build-aux-docs
 // compile-flags: -Z unstable-options --enable-index-page
 
 #![crate_name = "foo"]
@@ -5,4 +7,5 @@
 // @has foo/../index.html
 // @has - '//span[@class="in-band"]' 'List of all crates'
 // @has - '//ul[@class="mod"]//a[@href="foo/index.html"]' 'foo'
+// @has - '//ul[@class="mod"]//a[@href="all_item_types/index.html"]' 'all_item_types'
 pub struct Foo;