2023-10-16 18:12:17 -05:00
|
|
|
// https://github.com/rust-lang/rust/issues/32374
|
2016-04-22 22:26:08 -05:00
|
|
|
#![feature(staged_api)]
|
2021-06-17 17:33:42 -05:00
|
|
|
#![doc(issue_tracker_base_url = "https://issue_url/")]
|
2021-11-20 00:47:07 -06:00
|
|
|
#![unstable(feature = "test", issue = "32374")]
|
2023-10-16 17:41:04 -05:00
|
|
|
#![crate_name="issue_32374"]
|
2016-04-22 22:26:08 -05:00
|
|
|
|
2023-02-07 20:00:18 -06:00
|
|
|
// @matches issue_32374/index.html '//*[@class="item-name"]/span[@class="stab deprecated"]' \
|
2019-01-14 09:02:27 -06:00
|
|
|
// 'Deprecated'
|
2023-02-07 20:00:18 -06:00
|
|
|
// @matches issue_32374/index.html '//*[@class="item-name"]/span[@class="stab unstable"]' \
|
2019-01-14 09:02:27 -06:00
|
|
|
// 'Experimental'
|
2023-02-07 20:00:18 -06:00
|
|
|
// @matches issue_32374/index.html '//*[@class="desc docblock-short"]/text()' 'Docs'
|
2016-04-22 22:26:08 -05:00
|
|
|
|
2022-08-18 10:47:40 -05:00
|
|
|
// @has issue_32374/struct.T.html '//*[@class="stab deprecated"]/span' '👎'
|
|
|
|
// @has issue_32374/struct.T.html '//*[@class="stab deprecated"]/span' \
|
|
|
|
// 'Deprecated since 1.0.0: text'
|
2022-08-10 15:13:18 -05:00
|
|
|
// @hasraw - '<code>test</code> <a href="https://issue_url/32374">#32374</a>'
|
2022-08-18 10:47:40 -05:00
|
|
|
// @matches issue_32374/struct.T.html '//*[@class="stab unstable"]' '🔬'
|
2016-11-13 14:56:23 -06:00
|
|
|
// @matches issue_32374/struct.T.html '//*[@class="stab unstable"]' \
|
2022-08-18 10:47:40 -05:00
|
|
|
// 'This is a nightly-only experimental API. \(test\s#32374\)$'
|
2018-12-13 22:28:54 -06:00
|
|
|
/// Docs
|
2022-04-07 20:20:32 -05:00
|
|
|
#[deprecated(since = "1.0.0", note = "text")]
|
2016-04-22 22:26:08 -05:00
|
|
|
#[unstable(feature = "test", issue = "32374")]
|
|
|
|
pub struct T;
|
2016-11-13 14:56:23 -06:00
|
|
|
|
2022-08-18 10:47:40 -05:00
|
|
|
// @has issue_32374/struct.U.html '//*[@class="stab deprecated"]' '👎'
|
2016-11-13 14:56:23 -06:00
|
|
|
// @has issue_32374/struct.U.html '//*[@class="stab deprecated"]' \
|
2022-08-18 10:47:40 -05:00
|
|
|
// 'Deprecated since 1.0.0: deprecated'
|
|
|
|
// @has issue_32374/struct.U.html '//*[@class="stab unstable"]' '🔬'
|
2016-11-13 14:56:23 -06:00
|
|
|
// @has issue_32374/struct.U.html '//*[@class="stab unstable"]' \
|
2022-08-18 10:47:40 -05:00
|
|
|
// 'This is a nightly-only experimental API. (test #32374)'
|
2022-04-07 20:20:32 -05:00
|
|
|
#[deprecated(since = "1.0.0", note = "deprecated")]
|
2016-11-13 14:56:23 -06:00
|
|
|
#[unstable(feature = "test", issue = "32374", reason = "unstable")]
|
|
|
|
pub struct U;
|