2025-08-09 20:41:01 +02:00
|
|
|
error: `#[inline]` attribute cannot be used on constants
|
|
|
|
|
--> $DIR/multiple-invalid.rs:4:1
|
|
|
|
|
|
|
|
|
|
|
LL | #[inline]
|
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
= help: `#[inline]` can only be applied to functions
|
|
|
|
|
|
|
|
|
|
error: `#[target_feature]` attribute cannot be used on constants
|
2019-09-26 11:00:53 +01:00
|
|
|
--> $DIR/multiple-invalid.rs:6:1
|
|
|
|
|
|
|
|
|
|
|
LL | #[target_feature(enable = "sse2")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2025-03-04 14:17:06 +01:00
|
|
|
|
|
2025-08-09 20:41:01 +02:00
|
|
|
= help: `#[target_feature]` can only be applied to functions
|
2025-03-04 14:17:06 +01:00
|
|
|
|
2019-09-26 11:00:53 +01:00
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|