about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/non_minimal_cfg.fixed
blob: a2b69d0662ee971fde2d7b72991158869b8cd8f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![allow(unused)]

#[cfg(windows)]
//~^ non_minimal_cfg
fn hermit() {}

#[cfg(windows)]
//~^ non_minimal_cfg
fn wasi() {}

#[cfg(all(unix, not(windows)))]
//~^ non_minimal_cfg
//~| non_minimal_cfg
fn the_end() {}

#[cfg(any())]
fn any() {}

fn main() {}