rust/tests/rustdoc/stability.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
384 B
Rust
Raw Normal View History

2019-01-28 18:04:05 +00:00
#![feature(staged_api)]
#![unstable(feature = "test", issue = "none")]
2019-01-28 18:04:05 +00:00
pub struct Unstable {
// @has stability/struct.Unstable.html \
// '//span[@class="item-info"]//div[@class="stab unstable"]' \
2019-01-28 18:04:05 +00:00
// 'This is a nightly-only experimental API'
// @count stability/struct.Unstable.html '//span[@class="stab unstable"]' 0
pub foo: u32,
pub bar: u32,
}