]>
Commit | Line | Data |
---|---|---|
1 | // @has deprecated/index.html '//*[@class="item-left module-item"]/span[@class="stab deprecated"]' \ | |
2 | // 'Deprecated' | |
3 | // @has - '//*[@class="item-right docblock-short"]' 'Deprecated docs' | |
4 | ||
5 | // @has deprecated/struct.S.html '//*[@class="stab deprecated"]' \ | |
6 | // 'Deprecated since 1.0.0: text' | |
7 | /// Deprecated docs | |
8 | #[deprecated(since = "1.0.0", note = "text")] | |
9 | pub struct S; | |
10 | ||
11 | // @matches deprecated/index.html '//*[@class="item-right docblock-short"]' '^Docs' | |
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; | |
29 | ||
30 | // @matches deprecated/struct.X.html '//*[@class="stab deprecated"]' \ | |
31 | // 'Deprecated: shorthand reason$' | |
32 | #[deprecated = "shorthand reason"] | |
33 | pub struct X; |