rust-clippy/tests/ui/non_minimal_cfg.fixed

18 lines
186 B
Rust
Raw Normal View History

2023-05-09 10:13:49 +00:00
//@run-rustfix
#![allow(unused)]
#[cfg(windows)]
fn hermit() {}
#[cfg(windows)]
fn wasi() {}
#[cfg(all(unix, not(windows)))]
fn the_end() {}
#[cfg(any())]
fn any() {}
2023-05-09 10:13:49 +00:00
fn main() {}