]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/issue-32374.rs
Imported Upstream version 1.10.0+dfsg1
[rustc.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] [Unstable]'
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 #[rustc_deprecated(since = "1.0.0", reason = "text")]
24 #[unstable(feature = "test", issue = "32374")]
25 pub struct T;