]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc/index-page.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / rustdoc / index-page.rs
CommitLineData
48663c56
XL
1// aux-build:all-item-types.rs
2// build-aux-docs
a1dfa0c6 3// compile-flags: -Z unstable-options --enable-index-page
9e0c209e 4
a1dfa0c6 5#![crate_name = "foo"]
9e0c209e 6
a1dfa0c6
XL
7// @has foo/../index.html
8// @has - '//span[@class="in-band"]' 'List of all crates'
1b1a35ee
XL
9// @has - '//ul[@class="crate mod"]//a[@href="foo/index.html"]' 'foo'
10// @has - '//ul[@class="crate mod"]//a[@href="all_item_types/index.html"]' 'all_item_types'
a1dfa0c6 11pub struct Foo;