2018-12-13 03:51:04 +00:00
|
|
|
// compile-flags: -Z force-unstable-if-unmarked
|
|
|
|
|
2020-07-15 04:13:25 +00:00
|
|
|
// Check that the unstable marker is not added for "rustc_private".
|
|
|
|
|
2022-08-13 04:56:16 +00:00
|
|
|
// @!matches internal/index.html \
|
|
|
|
// '//*[@class="item-right docblock-short"]/span[@class="stab unstable"]' \
|
|
|
|
// ''
|
|
|
|
// @!matches internal/index.html \
|
|
|
|
// '//*[@class="item-right docblock-short"]/span[@class="stab internal"]' \
|
|
|
|
// ''
|
2021-06-17 22:33:42 +00:00
|
|
|
// @matches - '//*[@class="item-right docblock-short"]' 'Docs'
|
2019-01-14 15:02:27 +00:00
|
|
|
|
2022-08-13 04:56:16 +00:00
|
|
|
// @!has internal/struct.S.html '//*[@class="stab unstable"]' ''
|
|
|
|
// @!has internal/struct.S.html '//*[@class="stab internal"]' ''
|
2018-12-13 03:51:04 +00:00
|
|
|
/// Docs
|
|
|
|
pub struct S;
|
|
|
|
|
|
|
|
fn main() {}
|