]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/issue-32374.rs
1 #![feature(staged_api)]
2 #![doc(issue_tracker_base_url = "http://issue_url/")]
4 #![unstable(feature="test", issue = "32374")]
6 // @matches issue_32374/index.html '//*[@class="docblock-short"]/span[@class="stab deprecated"]' \
8 // @matches issue_32374/index.html '//*[@class="docblock-short"]/span[@class="stab unstable"]' \
10 // @matches issue_32374/index.html '//*[@class="docblock-short"]/text()' 'Docs'
12 // @has issue_32374/struct.T.html '//*[@class="stab deprecated"]' \
13 // '👎 Deprecated since 1.0.0: text'
14 // @has - '<code>test</code> <a href="http://issue_url/32374">#32374</a>'
15 // @matches issue_32374/struct.T.html '//*[@class="stab unstable"]' \
16 // '🔬 This is a nightly-only experimental API. \(test\s#32374\)$'
18 #[rustc_deprecated(since = "1.0.0", reason = "text")]
19 #[unstable(feature = "test", issue = "32374")]
22 // @has issue_32374/struct.U.html '//*[@class="stab deprecated"]' \
23 // '👎 Deprecated since 1.0.0: deprecated'
24 // @has issue_32374/struct.U.html '//*[@class="stab unstable"]' \
25 // '🔬 This is a nightly-only experimental API. (test #32374)'
26 // @has issue_32374/struct.U.html '//details' \
27 // '🔬 This is a nightly-only experimental API. (test #32374)'
28 // @has issue_32374/struct.U.html '//summary' \
29 // '🔬 This is a nightly-only experimental API. (test #32374)'
30 // @has issue_32374/struct.U.html '//details/p' \
32 #[rustc_deprecated(since = "1.0.0", reason = "deprecated")]
33 #[unstable(feature = "test", issue = "32374", reason = "unstable")]