]>
Commit | Line | Data |
---|---|---|
136023e0 | 1 | // @has deprecated/index.html '//*[@class="item-left module-item"]/span[@class="stab deprecated"]' \ |
9fa01778 | 2 | // 'Deprecated' |
136023e0 | 3 | // @has - '//*[@class="item-right docblock-short"]' 'Deprecated docs' |
9fa01778 | 4 | |
9cc50fc6 SL |
5 | // @has deprecated/struct.S.html '//*[@class="stab deprecated"]' \ |
6 | // 'Deprecated since 1.0.0: text' | |
0731742a | 7 | /// Deprecated docs |
9cc50fc6 SL |
8 | #[deprecated(since = "1.0.0", note = "text")] |
9 | pub struct S; | |
0731742a | 10 | |
136023e0 | 11 | // @matches deprecated/index.html '//*[@class="item-right docblock-short"]' '^Docs' |
0731742a XL |
12 | /// Docs |
13 | pub struct T; | |
14 | ||
15 | // @matches deprecated/struct.U.html '//*[@class="stab deprecated"]' \ | |
16 | // 'Deprecated since 1.0.0$' | |
17 | #[deprecated(since = "1.0.0")] | |
18 | pub struct U; | |
19 | ||
20 | // @matches deprecated/struct.V.html '//*[@class="stab deprecated"]' \ | |
21 | // 'Deprecated: text$' | |
22 | #[deprecated(note = "text")] | |
23 | pub struct V; | |
24 | ||
25 | // @matches deprecated/struct.W.html '//*[@class="stab deprecated"]' \ | |
26 | // 'Deprecated$' | |
27 | #[deprecated] | |
28 | pub struct W; | |
9fa01778 XL |
29 | |
30 | // @matches deprecated/struct.X.html '//*[@class="stab deprecated"]' \ | |
31 | // 'Deprecated: shorthand reason$' | |
32 | #[deprecated = "shorthand reason"] | |
33 | pub struct X; |