2024-06-21 12:03:08 +00:00
|
|
|
//@ has deprecated/index.html '//*[@class="item-name"]/span[@class="stab deprecated"]' \
|
2019-01-14 15:02:27 +00:00
|
|
|
// 'Deprecated'
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ has - '//*[@class="desc docblock-short"]' 'Deprecated docs'
|
2019-01-14 15:02:27 +00:00
|
|
|
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ has deprecated/struct.S.html '//*[@class="stab deprecated"]' \
|
2015-12-12 20:01:27 +00:00
|
|
|
// '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
|
|
|
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ matches deprecated/index.html '//*[@class="desc docblock-short"]' '^Docs'
|
2018-12-14 04:28:54 +00:00
|
|
|
/// Docs
|
|
|
|
pub struct T;
|
|
|
|
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ matches deprecated/struct.U.html '//*[@class="stab deprecated"]' \
|
2018-12-14 04:28:54 +00:00
|
|
|
// 'Deprecated since 1.0.0$'
|
|
|
|
#[deprecated(since = "1.0.0")]
|
|
|
|
pub struct U;
|
|
|
|
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ matches deprecated/struct.V.html '//*[@class="stab deprecated"]' \
|
2018-12-14 04:28:54 +00:00
|
|
|
// 'Deprecated: text$'
|
|
|
|
#[deprecated(note = "text")]
|
|
|
|
pub struct V;
|
|
|
|
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ matches deprecated/struct.W.html '//*[@class="stab deprecated"]' \
|
2018-12-14 04:28:54 +00:00
|
|
|
// 'Deprecated$'
|
|
|
|
#[deprecated]
|
|
|
|
pub struct W;
|
2019-02-04 17:41:01 +00:00
|
|
|
|
2024-06-21 12:03:08 +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;
|