]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/internal.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / rustdoc / internal.rs
1 // compile-flags: -Z force-unstable-if-unmarked
2
3 // Check that the unstable marker is not added for "rustc_private".
4
5 // @!matches internal/index.html \
6 // '//*[@class="item-right docblock-short"]/span[@class="stab unstable"]' \
7 // ''
8 // @!matches internal/index.html \
9 // '//*[@class="item-right docblock-short"]/span[@class="stab internal"]' \
10 // ''
11 // @matches - '//*[@class="item-right docblock-short"]' 'Docs'
12
13 // @!has internal/struct.S.html '//*[@class="stab unstable"]' ''
14 // @!has internal/struct.S.html '//*[@class="stab internal"]' ''
15 /// Docs
16 pub struct S;
17
18 fn main() {}