error[E0537]: invalid predicate `foo` --> $DIR/cfg-attr-invalid-predicate.rs:1:7 | LL | #[cfg(foo(bar))] | ^^^^^^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0537`.