rust/src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.mir.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

84 lines
3.3 KiB
Plaintext
Raw Normal View History

error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and requires unsafe function or block
--> $DIR/safe-calls.rs:23:5
2020-05-01 08:32:28 -05:00
|
LL | sse2();
| ^^^^^^ call to function `sse2` with `#[target_feature]`
2020-05-01 08:32:28 -05:00
|
= note: can only be called if the required target features are available
error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
--> $DIR/safe-calls.rs:24:5
2020-05-01 08:32:28 -05:00
|
LL | avx_bmi2();
| ^^^^^^^^^^ call to function `avx_bmi2` with `#[target_feature]`
2020-05-01 08:32:28 -05:00
|
= note: can only be called if the required target features are available
error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
--> $DIR/safe-calls.rs:25:5
2020-05-01 08:32:28 -05:00
|
LL | Quux.avx_bmi2();
| ^^^^^^^^^^^^^^^ call to function `Quux::avx_bmi2` with `#[target_feature]`
2020-05-01 08:32:28 -05:00
|
= note: can only be called if the required target features are available
error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
--> $DIR/safe-calls.rs:30:5
2020-05-01 08:32:28 -05:00
|
LL | avx_bmi2();
| ^^^^^^^^^^ call to function `avx_bmi2` with `#[target_feature]`
2020-05-01 08:32:28 -05:00
|
= note: can only be called if the required target features are available
error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
--> $DIR/safe-calls.rs:31:5
2020-05-01 08:32:28 -05:00
|
LL | Quux.avx_bmi2();
| ^^^^^^^^^^^^^^^ call to function `Quux::avx_bmi2` with `#[target_feature]`
2020-05-01 08:32:28 -05:00
|
= note: can only be called if the required target features are available
error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and requires unsafe function or block
--> $DIR/safe-calls.rs:36:5
2020-05-01 08:32:28 -05:00
|
LL | sse2();
| ^^^^^^ call to function `sse2` with `#[target_feature]`
2020-05-01 08:32:28 -05:00
|
= note: can only be called if the required target features are available
error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
--> $DIR/safe-calls.rs:37:5
2020-05-01 08:32:28 -05:00
|
LL | avx_bmi2();
| ^^^^^^^^^^ call to function `avx_bmi2` with `#[target_feature]`
2020-05-01 08:32:28 -05:00
|
= note: can only be called if the required target features are available
error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsafe and requires unsafe function or block
--> $DIR/safe-calls.rs:38:5
2020-05-01 08:32:28 -05:00
|
LL | Quux.avx_bmi2();
| ^^^^^^^^^^^^^^^ call to function `Quux::avx_bmi2` with `#[target_feature]`
2020-05-01 08:32:28 -05:00
|
= note: can only be called if the required target features are available
error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and requires unsafe function or block
--> $DIR/safe-calls.rs:44:5
2020-05-01 08:32:28 -05:00
|
LL | sse2();
| ^^^^^^ call to function `sse2` with `#[target_feature]`
2020-05-01 08:32:28 -05:00
|
= note: can only be called if the required target features are available
error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and requires unsafe function or block
--> $DIR/safe-calls.rs:47:18
2020-05-01 08:32:28 -05:00
|
LL | const name: () = sse2();
| ^^^^^^ call to function `sse2` 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`.