mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
12 lines
377 B
Rust
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;
|