We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e68f935 commit a994f46Copy full SHA for a994f46
tests/rustdoc/stability.rs
@@ -2,6 +2,14 @@
2
3
#![unstable(feature = "test", issue = "none")]
4
5
+// @has stability/index.html
6
+// @has - '//ul[@class="item-table"]/li[1]//a' Unstable
7
+// @has - '//ul[@class="item-table"]/li[2]//a' AaStable
8
+// @has - '//ul[@class="item-table"]/li[3]//a' ZzStable
9
+
10
+#[stable(feature = "rust2", since = "2.2.2")]
11
+pub struct AaStable;
12
13
pub struct Unstable {
14
// @has stability/struct.Unstable.html \
15
// '//span[@class="item-info"]//div[@class="stab unstable"]' \
@@ -10,3 +18,6 @@ pub struct Unstable {
18
pub foo: u32,
19
pub bar: u32,
20
}
21
22
23
+pub struct ZzStable;
0 commit comments