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
377 B
Rust
Raw Normal View History

//@ aux-build:all-item-types.rs
//@ build-aux-docs
2018-10-20 18:13:33 -05:00
//@ 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'
2018-10-20 18:13:33 -05:00
pub struct Foo;