summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/index-page.rs
blob: fc755afda4a9cfa2ad24f08502c54101786f291a (plain)
1
2
3
4
5
6
7
8
9
10
11
// aux-build:all-item-types.rs
// build-aux-docs
// compile-flags: -Z unstable-options --enable-index-page

#![crate_name = "foo"]

// @has foo/../index.html
// @has - '//h1' 'List of all crates'
// @has - '//ul[@class="all-items"]//a[@href="foo/index.html"]' 'foo'
// @has - '//ul[@class="all-items"]//a[@href="all_item_types/index.html"]' 'all_item_types'
pub struct Foo;