blob: f3b0a2d3c28e3c84e3cea52aa96a90ea17060c2e [file] [edit]
error[E0539]: malformed `cfg` attribute input
--> $DIR/cfg-path-error.rs:6:1
|
LL | #[cfg(any(foo, foo::bar))]
| ^^^^^^^^^^^^^^^--------^^^
| | |
| | expected a valid identifier here
| help: must be of the form: `#[cfg(predicate)]`
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg-attribute>
error[E0539]: malformed `cfg` attribute input
--> $DIR/cfg-path-error.rs:12:1
|
LL | #[cfg(any(foo::bar, foo))]
| ^^^^^^^^^^--------^^^^^^^^
| | |
| | expected a valid identifier here
| help: must be of the form: `#[cfg(predicate)]`
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg-attribute>
error[E0539]: malformed `cfg` attribute input
--> $DIR/cfg-path-error.rs:18:1
|
LL | #[cfg(all(foo, foo::bar))]
| ^^^^^^^^^^^^^^^--------^^^
| | |
| | expected a valid identifier here
| help: must be of the form: `#[cfg(predicate)]`
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg-attribute>
error[E0539]: malformed `cfg` attribute input
--> $DIR/cfg-path-error.rs:24:1
|
LL | #[cfg(all(foo::bar, foo))]
| ^^^^^^^^^^--------^^^^^^^^
| | |
| | expected a valid identifier here
| help: must be of the form: `#[cfg(predicate)]`
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg-attribute>
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0539`.