rust-clippy/tests/ui/non_minimal_cfg.fixed

15 lines
170 B
Rust

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