rust/src/test/rustdoc/issue-27759.rs
Noah Lev 13d53273f8 Rename @hastext to @hasraw (same for matches)
I think `@hasraw` is slightly clearer than `@hastext` since it is
actually matching against the raw HTML, not the text nodes.
2022-08-13 00:37:13 -04:00

14 lines
530 B
Rust

#![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() {}
}