rust/tests/ui/nested-cfg-attrs.rs

5 lines
126 B
Rust

#[cfg_attr(all(), cfg_attr(all(), cfg(FALSE)))]
fn f() {}
fn main() { f() } //~ ERROR cannot find function `f` in this scope