rust/tests/rustdoc/issue-30252.rs

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

7 lines
126 B
Rust
Raw Normal View History

// compile-flags:--test --cfg feature="bar"
/// ```rust
/// assert_eq!(cfg!(feature = "bar"), true);
/// ```
pub fn foo() {}