rust/tests/rustdoc/doc-cfg-implicit-gate.rs
2024-06-24 11:08:41 +02:00

8 lines
215 B
Rust

//@ compile-flags:--cfg feature="worricow"
#![crate_name = "xenogenous"]
//@ has 'xenogenous/struct.Worricow.html'
//@ count - '//*[@class="stab portability"]' 0
#[cfg(feature = "worricow")]
pub struct Worricow;