mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 09:27:25 +00:00
17 lines
206 B
Rust
17 lines
206 B
Rust
//@run-rustfix
|
|
|
|
#![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() {}
|