]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-30252.rs
Rollup merge of #105172 - alexs-sh:issue-98861-fix-next, r=scottmcm
[rust.git] / tests / rustdoc / issue-30252.rs
1 // compile-flags:--test --cfg feature="bar"
2
3 /// ```rust
4 /// assert_eq!(cfg!(feature = "bar"), true);
5 /// ```
6 pub fn foo() {}