]>
Commit | Line | Data |
---|---|---|
f9f354fc XL |
1 | error[E0658]: `#[target_feature(..)]` can only be applied to `unsafe` functions |
2 | --> $DIR/issue-68060.rs:6:13 | |
74b04a01 XL |
3 | | |
4 | LL | #[target_feature(enable = "")] | |
f9f354fc | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
74b04a01 XL |
6 | ... |
7 | LL | |_| (), | |
8 | | ------ not an `unsafe` function | |
f9f354fc XL |
9 | | |
10 | = note: see issue #69098 <https://github.com/rust-lang/rust/issues/69098> for more information | |
11 | = help: add `#![feature(target_feature_11)]` to the crate attributes to enable | |
74b04a01 XL |
12 | |
13 | error: the feature named `` is not valid for this target | |
f9f354fc | 14 | --> $DIR/issue-68060.rs:6:30 |
74b04a01 XL |
15 | | |
16 | LL | #[target_feature(enable = "")] | |
17 | | ^^^^^^^^^^^ `` is not valid for this target | |
18 | ||
19 | error[E0737]: `#[track_caller]` requires Rust ABI | |
f9f354fc | 20 | --> $DIR/issue-68060.rs:9:13 |
74b04a01 XL |
21 | | |
22 | LL | #[track_caller] | |
23 | | ^^^^^^^^^^^^^^^ | |
24 | ||
25 | error: aborting due to 3 previous errors | |
26 | ||
f9f354fc XL |
27 | Some errors have detailed explanations: E0658, E0737. |
28 | For more information about an error, try `rustc --explain E0658`. |