mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
18 lines
586 B
Rust
18 lines
586 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() {}
|