summary refs log tree commit diff
path: root/src/test/rustdoc/index-page.rs
blob: 6998e73529727adfba6f1ca1f230cc0ae4b716a4 (plain)
1
2
3
4
5
6
7
8
// compile-flags: -Z unstable-options --enable-index-page

#![crate_name = "foo"]

// @has foo/../index.html
// @has - '//span[@class="in-band"]' 'List of all crates'
// @has - '//ul[@class="mod"]//a[@href="foo/index.html"]' 'foo'
pub struct Foo;