2016-04-22 23:26:08 -04:00
|
|
|
#![feature(staged_api)]
|
|
|
|
#![doc(issue_tracker_base_url = "http://issue_url/")]
|
|
|
|
|
|
|
|
#![unstable(feature="test", issue = "32374")]
|
|
|
|
|
2019-01-14 10:02:27 -05:00
|
|
|
// @matches issue_32374/index.html '//*[@class="docblock-short"]/span[@class="stab deprecated"]' \
|
|
|
|
// 'Deprecated'
|
|
|
|
// @matches issue_32374/index.html '//*[@class="docblock-short"]/span[@class="stab unstable"]' \
|
|
|
|
// 'Experimental'
|
|
|
|
// @matches issue_32374/index.html '//*[@class="docblock-short"]/text()' 'Docs'
|
2016-04-22 23:26:08 -04:00
|
|
|
|
|
|
|
// @has issue_32374/struct.T.html '//*[@class="stab deprecated"]' \
|
2020-05-08 15:27:08 +02:00
|
|
|
// '👎 Deprecated since 1.0.0: text'
|
2018-12-13 23:28:54 -05:00
|
|
|
// @has - '<code>test</code> <a href="http://issue_url/32374">#32374</a>'
|
2016-11-13 15:56:23 -05:00
|
|
|
// @matches issue_32374/struct.T.html '//*[@class="stab unstable"]' \
|
2019-01-05 14:17:51 -05:00
|
|
|
// '🔬 This is a nightly-only experimental API. \(test\s#32374\)$'
|
2018-12-13 23:28:54 -05:00
|
|
|
/// Docs
|
2016-04-22 23:26:08 -04:00
|
|
|
#[rustc_deprecated(since = "1.0.0", reason = "text")]
|
|
|
|
#[unstable(feature = "test", issue = "32374")]
|
|
|
|
pub struct T;
|
2016-11-13 15:56:23 -05:00
|
|
|
|
|
|
|
// @has issue_32374/struct.U.html '//*[@class="stab deprecated"]' \
|
2020-05-08 15:27:08 +02:00
|
|
|
// '👎 Deprecated since 1.0.0: deprecated'
|
2016-11-13 15:56:23 -05:00
|
|
|
// @has issue_32374/struct.U.html '//*[@class="stab unstable"]' \
|
2017-02-23 12:51:28 +01:00
|
|
|
// '🔬 This is a nightly-only experimental API. (test #32374)'
|
2017-01-04 22:09:54 -08:00
|
|
|
// @has issue_32374/struct.U.html '//details' \
|
2017-02-23 12:51:28 +01:00
|
|
|
// '🔬 This is a nightly-only experimental API. (test #32374)'
|
2017-01-04 22:09:54 -08:00
|
|
|
// @has issue_32374/struct.U.html '//summary' \
|
2017-02-23 12:51:28 +01:00
|
|
|
// '🔬 This is a nightly-only experimental API. (test #32374)'
|
2017-01-04 22:09:54 -08:00
|
|
|
// @has issue_32374/struct.U.html '//details/p' \
|
|
|
|
// 'unstable'
|
2016-11-13 15:56:23 -05:00
|
|
|
#[rustc_deprecated(since = "1.0.0", reason = "deprecated")]
|
|
|
|
#[unstable(feature = "test", issue = "32374", reason = "unstable")]
|
|
|
|
pub struct U;
|