]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/index-page.rs
Rollup merge of #106753 - compiler-errors:rpitit-not-suggestable, r=spastorino
[rust.git] / tests / rustdoc / index-page.rs
1 // aux-build:all-item-types.rs
2 // build-aux-docs
3 // compile-flags: -Z unstable-options --enable-index-page
4
5 #![crate_name = "foo"]
6
7 // @has foo/../index.html
8 // @has - '//h1' 'List of all crates'
9 // @has - '//ul[@class="all-items"]//a[@href="foo/index.html"]' 'foo'
10 // @has - '//ul[@class="all-items"]//a[@href="all_item_types/index.html"]' 'all_item_types'
11 pub struct Foo;