about summary refs log tree commit diff
path: root/src/test/rustdoc/stability.rs
blob: 4ff06d9c9954e4a7cb6c8b9cf2c33fb242645f42 (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 \
    //      '//div[@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,
}