rust/tests/ui/conditional-compilation/cfg-attr-invalid-predicate.rs

5 lines
79 B
Rust

#[cfg(foo(bar))] //~ ERROR invalid predicate `foo`
fn check() {}
fn main() {}