rust/tests/ui/conditional-compilation/cfg-attr-invalid-predicate.rs
2023-01-11 09:32:08 +00:00

5 lines
79 B
Rust

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