mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 19:43:20 +00:00
17 lines
186 B
Rust
17 lines
186 B
Rust
//@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() {}
|