]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-27759.rs
Rollup merge of #56944 - alexcrichton:less-thin2, r=michaelwoerister
[rust.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>&nbsp;<a href="http://issue_url/27759">#27759</a>'
18 #[unstable(feature="test", issue="27759")]
19 pub mod unstable {
20     // @has issue_27759/unstable/fn.issue.html
21     // @has - '<code>test_function</code>&nbsp;<a href="http://issue_url/12345">#12345</a>'
22     #[unstable(feature="test_function", issue="12345")]
23     pub fn issue() {}
24 }