]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-32374.rs
Auto merge of #41157 - aidanhs:aphs-debug-appveyor-cache, r=TimNN
[rust.git] / src / test / rustdoc / issue-32374.rs
1 // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 #![feature(staged_api)]
12 #![doc(issue_tracker_base_url = "http://issue_url/")]
13
14 #![unstable(feature="test", issue = "32374")]
15
16 // @has issue_32374/index.html '//*[@class="docblock-short"]' \
17 //      '[Deprecated] [Experimental]'
18
19 // @has issue_32374/struct.T.html '//*[@class="stab deprecated"]' \
20 //      'Deprecated since 1.0.0: text'
21 // @has - '<code>test </code>'
22 // @has - '<a href="http://issue_url/32374">#32374</a>'
23 // @matches issue_32374/struct.T.html '//*[@class="stab unstable"]' \
24 //      '🔬 This is a nightly-only experimental API.  \(test #32374\)$'
25 #[rustc_deprecated(since = "1.0.0", reason = "text")]
26 #[unstable(feature = "test", issue = "32374")]
27 pub struct T;
28
29 // @has issue_32374/struct.U.html '//*[@class="stab deprecated"]' \
30 //      'Deprecated since 1.0.0: deprecated'
31 // @has issue_32374/struct.U.html '//*[@class="stab unstable"]' \
32 //      '🔬 This is a nightly-only experimental API. (test #32374)'
33 // @has issue_32374/struct.U.html '//details' \
34 //      '🔬 This is a nightly-only experimental API. (test #32374)'
35 // @has issue_32374/struct.U.html '//summary' \
36 //      '🔬 This is a nightly-only experimental API. (test #32374)'
37 // @has issue_32374/struct.U.html '//details/p' \
38 //      'unstable'
39 #[rustc_deprecated(since = "1.0.0", reason = "deprecated")]
40 #[unstable(feature = "test", issue = "32374", reason = "unstable")]
41 pub struct U;