mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
39b90a5f6e
It's misleading. The main heading sometimes isn't an fully qualified name at all. It's also redundant. It's always a child of `div.main-heading`, so just use that.
12 lines
374 B
Rust
12 lines
374 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;
|