rust/tests/rustdoc/stability.rs
2023-01-11 09:32:08 +00:00

13 lines
384 B
Rust

#![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,
}