2020-05-01 08:32:28 -05:00
|
|
|
error[E0658]: `#[target_feature(..)]` can only be applied to `unsafe` functions
|
2020-05-21 18:43:39 -05:00
|
|
|
--> $DIR/issue-68060.rs:4:13
|
2020-02-13 21:46:06 -06:00
|
|
|
|
|
|
|
|
LL | #[target_feature(enable = "")]
|
2020-05-01 08:32:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-02-13 21:46:06 -06:00
|
|
|
...
|
|
|
|
LL | |_| (),
|
|
|
|
| ------ not an `unsafe` function
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
= note: see issue #69098 <https://github.com/rust-lang/rust/issues/69098> for more information
|
|
|
|
= help: add `#![feature(target_feature_11)]` to the crate attributes to enable
|
2020-02-13 21:46:06 -06:00
|
|
|
|
|
|
|
error: the feature named `` is not valid for this target
|
2020-05-21 18:43:39 -05:00
|
|
|
--> $DIR/issue-68060.rs:4: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-05-21 18:43:39 -05:00
|
|
|
--> $DIR/issue-68060.rs:7:13
|
2020-02-13 21:46:06 -06:00
|
|
|
|
|
|
|
|
LL | #[track_caller]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
2020-05-01 08:32:28 -05:00
|
|
|
Some errors have detailed explanations: E0658, E0737.
|
|
|
|
For more information about an error, try `rustc --explain E0658`.
|