summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/internal.rs
blob: caad43a087c4eda9f516e6cc98710d51ee6acdc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// compile-flags: -Z force-unstable-if-unmarked

// Check that the unstable marker is not added for "rustc_private".

// @!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"]' \
//      ''
// @matches - '//*[@class="item-right 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() {}