1 error: attribute must be of the form `#[target_feature(enable = "name")]`
2 --> $DIR/target-feature-wrong.rs:16:1
4 LL | #[target_feature = "+sse2"]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 error: the feature named `foo` is not valid for this target
8 --> $DIR/target-feature-wrong.rs:18:18
10 LL | #[target_feature(enable = "foo")]
13 error: #[target_feature(..)] only accepts sub-keys of `enable` currently
14 --> $DIR/target-feature-wrong.rs:20:18
16 LL | #[target_feature(bar)]
19 error: #[target_feature(..)] only accepts sub-keys of `enable` currently
20 --> $DIR/target-feature-wrong.rs:22:18
22 LL | #[target_feature(disable = "baz")]
25 error: #[target_feature(..)] can only be applied to `unsafe` function
26 --> $DIR/target-feature-wrong.rs:26:1
28 LL | #[target_feature(enable = "sse2")]
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31 error: attribute should be applied to a function
32 --> $DIR/target-feature-wrong.rs:30:1
34 LL | #[target_feature(enable = "sse2")]
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38 | -------------- not a function
40 error: cannot use #[inline(always)] with #[target_feature]
41 --> $DIR/target-feature-wrong.rs:34:1
43 LL | #[inline(always)]
46 error: aborting due to 7 previous errors