2023-01-26 19:50:14 +00:00
|
|
|
// @has deprecated/index.html '//*[@class="item-left"]/span[@class="stab deprecated"]' \
|
2019-01-14 15:02:27 +00:00
|
|
|
// 'Deprecated'
|
2021-06-17 22:33:42 +00:00
|
|
|
// @has - '//*[@class="item-right 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
|
|
|
|
2021-06-17 22:33:42 +00:00
|
|
|
// @matches deprecated/index.html '//*[@class="item-right 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"]' \
|
|
|
|
// 'Deprecated: shorthand reason$'
|
|
|
|
#[deprecated = "shorthand reason"]
|
|
|
|
pub struct X;
|