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