]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-18199.rs
Rollup merge of #107412 - tshepang:needless-check, r=wesleywiser
[rust.git] / tests / rustdoc / issue-18199.rs
1 // compile-flags:--test
2
3 #![doc(test(attr(feature(staged_api))))]
4
5 /// ```
6 /// #![unstable(feature="test", issue="18199")]
7 /// fn main() {}
8 /// ```
9 pub fn foo() {}