rust-clippy/tests/ui/non_minimal_cfg.fixed

16 lines
170 B
Rust
Raw Normal View History

#![allow(unused)]
#[cfg(windows)]
fn hermit() {}
#[cfg(windows)]
fn wasi() {}
#[cfg(all(unix, not(windows)))]
fn the_end() {}
#[cfg(any())]
fn any() {}
fn main() {}