| warning: call to `#[inline(always)]`-annotated `target_feature_identity` requires the same target features to be inlined |
| --> $DIR/inline-always.rs:19:5 |
| | |
| LL | target_feature_identity(); |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| = note: function will not be inlined |
| = note: the following target features are on `target_feature_identity` but missing from `call_no_target_features`: neon, fp16 |
| note: `target_feature_identity` is defined here |
| --> $DIR/inline-always.rs:16:1 |
| | |
| LL | pub unsafe fn target_feature_identity() {} |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| = note: `#[warn(inline_always_mismatching_target_features)]` on by default |
| help: add `#[target_feature]` attribute to `call_no_target_features` |
| | |
| LL + #[target_feature(enable = "neon,fp16")] |
| LL | unsafe fn call_no_target_features() { |
| | |
| |
| warning: call to `#[inline(always)]`-annotated `multiple_target_features` requires the same target features to be inlined |
| --> $DIR/inline-always.rs:22:5 |
| | |
| LL | multiple_target_features(); |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| = note: function will not be inlined |
| = note: the following target features are on `multiple_target_features` but missing from `call_no_target_features`: fp16, sve, rdm |
| note: `multiple_target_features` is defined here |
| --> $DIR/inline-always.rs:52:1 |
| | |
| LL | fn multiple_target_features() { |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| help: add `#[target_feature]` attribute to `call_no_target_features` |
| | |
| LL + #[target_feature(enable = "fp16,sve,rdm")] |
| LL | unsafe fn call_no_target_features() { |
| | |
| |
| warning: call to `#[inline(always)]`-annotated `multiple_target_features` requires the same target features to be inlined |
| --> $DIR/inline-always.rs:28:5 |
| | |
| LL | multiple_target_features(); |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| = note: function will not be inlined |
| = note: the following target features are on `multiple_target_features` but missing from `call_to_first_set`: rdm |
| note: `multiple_target_features` is defined here |
| --> $DIR/inline-always.rs:52:1 |
| | |
| LL | fn multiple_target_features() { |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| help: add `#[target_feature]` attribute to `call_to_first_set` |
| | |
| LL + #[target_feature(enable = "rdm")] |
| LL | unsafe fn call_to_first_set() { |
| | |
| |
| warning: 3 warnings emitted |
| |