0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-24 18:21:15 +01:00
rust/tests/rustdoc/index-page.rs
2024-06-24 11:08:41 +02:00

12 lines
377 B
Rust

//@ aux-build:all-item-types.rs
//@ build-aux-docs
//@ 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'
pub struct Foo;