rust/src/test/rustdoc/internal.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
583 B
Rust
Raw Normal View History

// compile-flags: -Z force-unstable-if-unmarked
// Check that the unstable marker is not added for "rustc_private".
2022-08-12 00:44:07 -04:00
// @!matchesraw internal/index.html \
// '//*[@class="item-right docblock-short"]/span[@class="stab unstable"]'
2022-08-12 00:44:07 -04:00
// @!matchesraw internal/index.html \
// '//*[@class="item-right docblock-short"]/span[@class="stab internal"]'
// @matches - '//*[@class="item-right docblock-short"]' 'Docs'
2022-08-12 00:44:07 -04:00
// @!hasraw internal/struct.S.html '//*[@class="stab unstable"]'
// @!hasraw internal/struct.S.html '//*[@class="stab internal"]'
/// Docs
pub struct S;
fn main() {}