rust/tests/rustdoc/internal.rs
Michael Howell 894c98652c rustdoc: simplify DOM for .item-table
This switches from using `<div>` to the more semantic `<ul>`, and
using class names that rhyme with the classes the search results
table uses.
2023-02-07 19:00:42 -07:00

19 lines
585 B
Rust

// compile-flags: -Z force-unstable-if-unmarked
// Check that the unstable marker is not added for "rustc_private".
// @!matches internal/index.html \
// '//*[@class="desc docblock-short"]/span[@class="stab unstable"]' \
// ''
// @!matches internal/index.html \
// '//*[@class="desc docblock-short"]/span[@class="stab internal"]' \
// ''
// @matches - '//*[@class="desc docblock-short"]' 'Docs'
// @!has internal/struct.S.html '//*[@class="stab unstable"]' ''
// @!has internal/struct.S.html '//*[@class="stab internal"]' ''
/// Docs
pub struct S;
fn main() {}