2020-02-13 21:46:06 -06:00
|
|
|
error: `#[target_feature(..)]` can only be applied to `unsafe` functions
|
2020-04-15 19:00:23 -05:00
|
|
|
--> $DIR/issue-68060.rs:6:13
|
2020-02-13 21:46:06 -06:00
|
|
|
|
|
|
|
|
LL | #[target_feature(enable = "")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can only be applied to `unsafe` functions
|
|
|
|
...
|
|
|
|
LL | |_| (),
|
|
|
|
| ------ not an `unsafe` function
|
|
|
|
|
|
|
|
error: the feature named `` is not valid for this target
|
2020-04-15 19:00:23 -05:00
|
|
|
--> $DIR/issue-68060.rs:6:30
|
2020-02-13 21:46:06 -06:00
|
|
|
|
|
|
|
|
LL | #[target_feature(enable = "")]
|
|
|
|
| ^^^^^^^^^^^ `` is not valid for this target
|
|
|
|
|
|
|
|
error[E0737]: `#[track_caller]` requires Rust ABI
|
2020-04-15 19:00:23 -05:00
|
|
|
--> $DIR/issue-68060.rs:9:13
|
2020-02-13 21:46:06 -06:00
|
|
|
|
|
|
|
|
LL | #[track_caller]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0737`.
|