fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
810 B24 linesraw
1error: `#[target_feature(..)]` can only be applied to `unsafe` functions
2  --> $DIR/issue-68060.rs:8:13
3   |
4LL |             #[target_feature(enable = "")]
5   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can only be applied to `unsafe` functions
6...
7LL |             |_| (),
8   |             ------ not an `unsafe` function
9
10error: the feature named `` is not valid for this target
11  --> $DIR/issue-68060.rs:8:30
12   |
13LL |             #[target_feature(enable = "")]
14   |                              ^^^^^^^^^^^ `` is not valid for this target
15
16error[E0737]: `#[track_caller]` requires Rust ABI
17  --> $DIR/issue-68060.rs:11:13
18   |
19LL |             #[track_caller]
20   |             ^^^^^^^^^^^^^^^
21
22error: aborting due to 3 previous errors
23
24For more information about this error, try `rustc --explain E0737`.