fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
3.1 KiB83 linesraw
1error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
2  --> $DIR/safe-calls.rs:23:5
3   |
4LL |     sse2();
5   |     ^^^^^^ call to function with `#[target_feature]`
6   |
7   = note: can only be called if the required target features are available
8
9error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
10  --> $DIR/safe-calls.rs:26:5
11   |
12LL |     avx_bmi2();
13   |     ^^^^^^^^^^ call to function with `#[target_feature]`
14   |
15   = note: can only be called if the required target features are available
16
17error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
18  --> $DIR/safe-calls.rs:29:5
19   |
20LL |     Quux.avx_bmi2();
21   |     ^^^^^^^^^^^^^^^ call to function with `#[target_feature]`
22   |
23   = note: can only be called if the required target features are available
24
25error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
26  --> $DIR/safe-calls.rs:36:5
27   |
28LL |     avx_bmi2();
29   |     ^^^^^^^^^^ call to function with `#[target_feature]`
30   |
31   = note: can only be called if the required target features are available
32
33error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
34  --> $DIR/safe-calls.rs:39:5
35   |
36LL |     Quux.avx_bmi2();
37   |     ^^^^^^^^^^^^^^^ call to function with `#[target_feature]`
38   |
39   = note: can only be called if the required target features are available
40
41error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
42  --> $DIR/safe-calls.rs:46:5
43   |
44LL |     sse2();
45   |     ^^^^^^ call to function with `#[target_feature]`
46   |
47   = note: can only be called if the required target features are available
48
49error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
50  --> $DIR/safe-calls.rs:49:5
51   |
52LL |     avx_bmi2();
53   |     ^^^^^^^^^^ call to function with `#[target_feature]`
54   |
55   = note: can only be called if the required target features are available
56
57error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
58  --> $DIR/safe-calls.rs:52:5
59   |
60LL |     Quux.avx_bmi2();
61   |     ^^^^^^^^^^^^^^^ call to function with `#[target_feature]`
62   |
63   = note: can only be called if the required target features are available
64
65error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
66  --> $DIR/safe-calls.rs:60:5
67   |
68LL |     sse2();
69   |     ^^^^^^ call to function with `#[target_feature]`
70   |
71   = note: can only be called if the required target features are available
72
73error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
74  --> $DIR/safe-calls.rs:65:18
75   |
76LL | const name: () = sse2();
77   |                  ^^^^^^ call to function with `#[target_feature]`
78   |
79   = note: can only be called if the required target features are available
80
81error: aborting due to 10 previous errors
82
83For more information about this error, try `rustc --explain E0133`.