rust/src/test/ui/macros/issue-68060.stderr

29 lines
1011 B
Plaintext
Raw Normal View History

2020-05-01 08:32:28 -05:00
error[E0658]: `#[target_feature(..)]` can only be applied to `unsafe` functions
--> $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
--> $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
--> $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`.