]>
git.proxmox.com Git - rustc.git/blob - tests/rustdoc/issue-32374.rs
1 #![feature(staged_api)]
2 #![doc(issue_tracker_base_url = "https://issue_url/")]
3 #![unstable(feature = "test", issue = "32374")]
5 // @matches issue_32374/index.html '//*[@class="item-left unstable deprecated module-item"]/span[@class="stab deprecated"]' \
7 // @matches issue_32374/index.html '//*[@class="item-left unstable deprecated module-item"]/span[@class="stab unstable"]' \
9 // @matches issue_32374/index.html '//*[@class="item-right docblock-short"]/text()' 'Docs'
11 // @has issue_32374/struct.T.html '//*[@class="stab deprecated"]/span' '👎'
12 // @has issue_32374/struct.T.html '//*[@class="stab deprecated"]/span' \
13 // 'Deprecated since 1.0.0: text'
14 // @hasraw - '<code>test</code> <a href="https://issue_url/32374">#32374</a>'
15 // @matches issue_32374/struct.T.html '//*[@class="stab unstable"]' '🔬'
16 // @matches issue_32374/struct.T.html '//*[@class="stab unstable"]' \
17 // 'This is a nightly-only experimental API. \(test\s#32374\)$'
19 #[deprecated(since = "1.0.0", note = "text")]
20 #[unstable(feature = "test", issue = "32374")]
23 // @has issue_32374/struct.U.html '//*[@class="stab deprecated"]' '👎'
24 // @has issue_32374/struct.U.html '//*[@class="stab deprecated"]' \
25 // 'Deprecated since 1.0.0: deprecated'
26 // @has issue_32374/struct.U.html '//*[@class="stab unstable"]' '🔬'
27 // @has issue_32374/struct.U.html '//*[@class="stab unstable"]' \
28 // 'This is a nightly-only experimental API. (test #32374)'
29 #[deprecated(since = "1.0.0", note = "deprecated")]
30 #[unstable(feature = "test", issue = "32374", reason = "unstable")]