2023-02-08 02:00:18 +00:00
|
|
|
// @has deprecated/index.html '//*[@class="item-name"]/span[@class="stab deprecated"]' \
|
2019-01-14 15:02:27 +00:00
|
|
|
// 'Deprecated'
|
2023-02-08 02:00:18 +00:00
|
|
|
// @has - '//*[@class="desc docblock-short"]' 'Deprecated docs'
|
2019-01-14 15:02:27 +00:00
|
|
|
|
2015-12-12 20:01:27 +00:00
|
|
|
// @has deprecated/struct.S.html '//*[@class="stab deprecated"]' \
|
|
|
|
// 'Deprecated since 1.0.0: text'
|
2018-12-14 04:28:54 +00:00
|
|
|
/// Deprecated docs
|
2015-12-12 20:01:27 +00:00
|
|
|
#[deprecated(since = "1.0.0", note = "text")]
|
|
|
|
pub struct S;
|
2018-12-14 04:28:54 +00:00
|
|
|
|
2023-02-08 02:00:18 +00:00
|
|
|
// @matches deprecated/index.html '//*[@class="desc docblock-short"]' '^Docs'
|
2018-12-14 04:28:54 +00:00
|
|
|
/// Docs
|
|
|
|
pub struct T;
|
|
|
|
|
|
|
|
// @matches deprecated/struct.U.html '//*[@class="stab deprecated"]' \
|
|
|
|
// 'Deprecated since 1.0.0$'
|
|
|
|
#[deprecated(since = "1.0.0")]
|
|
|
|
pub struct U;
|
|
|
|
|
|
|
|
// @matches deprecated/struct.V.html '//*[@class="stab deprecated"]' \
|
|
|
|
// 'Deprecated: text$'
|
|
|
|
#[deprecated(note = "text")]
|
|
|
|
pub struct V;
|
|
|
|
|
|
|
|
// @matches deprecated/struct.W.html '//*[@class="stab deprecated"]' \
|
|
|
|
// 'Deprecated$'
|
|
|
|
#[deprecated]
|
|
|
|
pub struct W;
|
2019-02-04 17:41:01 +00:00
|
|
|
|
|
|
|
// @matches deprecated/struct.X.html '//*[@class="stab deprecated"]' \
|
2023-03-20 05:21:51 +00:00
|
|
|
// 'Deprecated: shorthand reason: code$'
|
|
|
|
#[deprecated = "shorthand reason: `code`"]
|
2019-02-04 17:41:01 +00:00
|
|
|
pub struct X;
|