rust-clippy/tests/ui/non_minimal_cfg.rs
2023-08-11 14:02:28 +00:00

15 lines
190 B
Rust

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