| error[E0539]: malformed `cfg` attribute input |
| --> $DIR/cfg-target-compact-errors.rs:5:1 |
| | |
| LL | #[cfg(target(o::o))] |
| | ^^^^^^^^^^^^^----^^^ |
| | | | |
| | | expected this to be of the form `... = "..."` |
| | help: must be of the form: `#[cfg(predicate)]` |
| |
| error[E0539]: malformed `cfg` attribute input |
| --> $DIR/cfg-target-compact-errors.rs:9:1 |
| | |
| LL | #[cfg(target(os = 8))] |
| | ^^^^^^^^^^^^^^^^^^-^^^ |
| | | | |
| | | expected a string literal here |
| | help: must be of the form: `#[cfg(predicate)]` |
| |
| error[E0539]: malformed `cfg` attribute input |
| --> $DIR/cfg-target-compact-errors.rs:13:1 |
| | |
| LL | #[cfg(target(os = "linux", pointer(width = "64")))] |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^ |
| | | | |
| | | expected this to be of the form `... = "..."` |
| | help: must be of the form: `#[cfg(predicate)]` |
| |
| error[E0539]: malformed `cfg` attribute input |
| --> $DIR/cfg-target-compact-errors.rs:17:1 |
| | |
| LL | #[cfg(target(true))] |
| | ^^^^^^^^^^^^^----^^^ |
| | | | |
| | | expected this to be of the form `... = "..."` |
| | help: must be of the form: `#[cfg(predicate)]` |
| |
| error: `cfg` predicate key must be an identifier |
| --> $DIR/cfg-target-compact-errors.rs:21:14 |
| | |
| LL | #[cfg(target(clippy::os = "linux"))] |
| | ^^^^^^^^^^ |
| |
| error: aborting due to 5 previous errors |
| |
| For more information about this error, try `rustc --explain E0539`. |