rust/tests/rustdoc/issue-18199.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
197 B
Rust
Raw Normal View History

// compile-flags:--test
#![doc(test(attr(feature(staged_api))))]
/// ```
/// #![allow(internal_features)]
2015-11-16 19:54:28 +03:00
/// #![unstable(feature="test", issue="18199")]
/// fn main() {}
/// ```
pub fn foo() {}