rust/tests/rustdoc/staged-api-feature-issue-27759.rs
2024-06-24 11:08:41 +02:00

18 lines
610 B
Rust

// https://github.com/rust-lang/rust/issues/27759
#![crate_name="issue_27759"]
#![feature(staged_api)]
#![doc(issue_tracker_base_url = "http://issue_url/")]
#![unstable(feature="test", issue="27759")]
//@ has issue_27759/unstable/index.html
//@ hasraw - '<code>test</code>&nbsp;<a href="http://issue_url/27759">#27759</a>'
#[unstable(feature="test", issue="27759")]
pub mod unstable {
//@ has issue_27759/unstable/fn.issue.html
//@ hasraw - '<code>test_function</code>&nbsp;<a href="http://issue_url/12345">#12345</a>'
#[unstable(feature="test_function", issue="12345")]
pub fn issue() {}
}