rust/tests/ui/nested-cfg-attrs.rs
2023-01-11 09:32:08 +00:00

5 lines
124 B
Rust

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