about summary refs log tree commit diff
path: root/src/test/rustdoc/stability.rs
blob: 18a21603493c2539efa38b27d3d9d2b3283f0e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![feature(staged_api)]

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

pub struct Unstable {
    // @has stability/struct.Unstable.html \
    //      '//div[@class="stability"]//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,
}