rust/tests/ui/non_minimal_cfg.fixed

18 lines
186 B
Rust
Raw Normal View History

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