mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 02:23:19 +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() {}
|