rust/tests/rustdoc/index-page.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
388 B
Rust
Raw Normal View History

// aux-build:all-item-types.rs
// build-aux-docs
2018-10-20 23:13:33 +00:00
// compile-flags: -Z unstable-options --enable-index-page
#![crate_name = "foo"]
// @has foo/../index.html
// @has - '//h1[@class="fqn"]' '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'
2018-10-20 23:13:33 +00:00
pub struct Foo;