2022-04-24 07:08:23 -05:00
|
|
|
error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and requires unsafe function or block
|
2021-05-14 16:52:34 -05:00
|
|
|
--> $DIR/safe-calls.rs:23:5
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
LL | sse2();
|
2022-04-24 07:42:30 -05:00
|
|
|
| ^^^^^^ call to function with `#[target_feature]`
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
|
2022-04-24 07:08:23 -05:00
|
|
|
error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
|
2021-05-14 16:52:34 -05:00
|
|
|
--> $DIR/safe-calls.rs:24:5
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
LL | avx_bmi2();
|
2022-04-24 07:42:30 -05:00
|
|
|
| ^^^^^^^^^^ call to function with `#[target_feature]`
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
|
2022-04-24 07:08:23 -05:00
|
|
|
error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
|
2021-05-14 16:52:34 -05:00
|
|
|
--> $DIR/safe-calls.rs:25:5
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
LL | Quux.avx_bmi2();
|
2022-04-24 07:42:30 -05:00
|
|
|
| ^^^^^^^^^^^^^^^ call to function with `#[target_feature]`
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
|
2022-04-24 07:08:23 -05:00
|
|
|
error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
|
2021-05-14 16:52:34 -05:00
|
|
|
--> $DIR/safe-calls.rs:30:5
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
LL | avx_bmi2();
|
2022-04-24 07:42:30 -05:00
|
|
|
| ^^^^^^^^^^ call to function with `#[target_feature]`
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
|
2022-04-24 07:08:23 -05:00
|
|
|
error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
|
2021-05-14 16:52:34 -05:00
|
|
|
--> $DIR/safe-calls.rs:31:5
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
LL | Quux.avx_bmi2();
|
2022-04-24 07:42:30 -05:00
|
|
|
| ^^^^^^^^^^^^^^^ call to function with `#[target_feature]`
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
|
2022-04-24 07:08:23 -05:00
|
|
|
error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and requires unsafe function or block
|
2021-05-14 16:52:34 -05:00
|
|
|
--> $DIR/safe-calls.rs:36:5
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
LL | sse2();
|
2022-04-24 07:42:30 -05:00
|
|
|
| ^^^^^^ call to function with `#[target_feature]`
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
|
2022-04-24 07:08:23 -05:00
|
|
|
error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
|
2021-05-14 16:52:34 -05:00
|
|
|
--> $DIR/safe-calls.rs:37:5
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
LL | avx_bmi2();
|
2022-04-24 07:42:30 -05:00
|
|
|
| ^^^^^^^^^^ call to function with `#[target_feature]`
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
|
2022-04-24 07:08:23 -05:00
|
|
|
error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
|
2021-05-14 16:52:34 -05:00
|
|
|
--> $DIR/safe-calls.rs:38:5
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
LL | Quux.avx_bmi2();
|
2022-04-24 07:42:30 -05:00
|
|
|
| ^^^^^^^^^^^^^^^ call to function with `#[target_feature]`
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
|
2022-04-24 07:08:23 -05:00
|
|
|
error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and requires unsafe function or block
|
2021-05-14 16:52:34 -05:00
|
|
|
--> $DIR/safe-calls.rs:44:5
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
LL | sse2();
|
2022-04-24 07:42:30 -05:00
|
|
|
| ^^^^^^ call to function with `#[target_feature]`
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
|
2022-04-24 07:08:23 -05:00
|
|
|
error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and requires unsafe function or block
|
2021-05-14 16:52:34 -05:00
|
|
|
--> $DIR/safe-calls.rs:47:18
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
LL | const name: () = sse2();
|
2022-04-24 07:42:30 -05:00
|
|
|
| ^^^^^^ call to function with `#[target_feature]`
|
2020-05-01 08:32:28 -05:00
|
|
|
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
|
|
|
|
error: aborting due to 10 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0133`.
|