]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/stability.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / rustdoc / stability.rs
1 #![feature(staged_api)]
2
3 #![unstable(feature = "test", issue = "none")]
4
5 pub struct Unstable {
6     // @has stability/struct.Unstable.html \
7     //      '//span[@class="item-info"]//div[@class="stab unstable"]' \
8     //      'This is a nightly-only experimental API'
9     // @count stability/struct.Unstable.html '//span[@class="stab unstable"]' 0
10     pub foo: u32,
11     pub bar: u32,
12 }