]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/issue-27759.rs
fe40ce2bd7ddbfd0b494b0f45ea02ca274f091a8
[rustc.git] / src / test / rustdoc / issue-27759.rs
1 // Copyright 2015 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="27759")]
15
16 // @has issue_27759/unstable/index.html
17 // @has - '<code>test</code>'
18 // @has - '<a href="http://issue_url/27759">#27759</a>'
19 #[unstable(feature="test", issue="27759")]
20 pub mod unstable {
21 // @has issue_27759/unstable/fn.issue.html
22 // @has - '<code>test_function</code>'
23 // @has - '<a href="http://issue_url/1234567890">#1234567890</a>'
24 #[unstable(feature="test_function", issue="1234567890")]
25 pub fn issue() {}
26 }