summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/stability.rs
blob: 90be2050d926ba991ea670f296f0a04aefc6a7bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![feature(staged_api)]

#![unstable(feature = "test", issue = "none")]

pub struct Unstable {
    // @has stability/struct.Unstable.html \
    //      '//span[@class="item-info"]//div[@class="stab unstable"]' \
    //      'This is a nightly-only experimental API'
    // @count stability/struct.Unstable.html '//span[@class="stab unstable"]' 0
    pub foo: u32,
    pub bar: u32,
}