rust/tests/rustdoc/doc-test-attr-18199.rs

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

12 lines
247 B
Rust
Raw Normal View History

// compile-flags:--test
2023-09-27 19:22:18 -05:00
// https://github.com/rust-lang/rust/issues/18199
#![doc(test(attr(feature(staged_api))))]
/// ```
/// #![allow(internal_features)]
2015-11-16 10:54:28 -06:00
/// #![unstable(feature="test", issue="18199")]
/// fn main() {}
/// ```
pub fn foo() {}