]> git.proxmox.com Git - rustc.git/blob - src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.stderr
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / ui / rfcs / rfc-2396-target_feature-11 / safe-calls.stderr
1 error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
2 --> $DIR/safe-calls.rs:21:5
3 |
4 LL | sse2();
5 | ^^^^^^ call to function with `#[target_feature]`
6 |
7 = note: can only be called if the required target features are available
8
9 error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
10 --> $DIR/safe-calls.rs:22:5
11 |
12 LL | avx_bmi2();
13 | ^^^^^^^^^^ call to function with `#[target_feature]`
14 |
15 = note: can only be called if the required target features are available
16
17 error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
18 --> $DIR/safe-calls.rs:23:5
19 |
20 LL | 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
25 error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
26 --> $DIR/safe-calls.rs:28:5
27 |
28 LL | avx_bmi2();
29 | ^^^^^^^^^^ call to function with `#[target_feature]`
30 |
31 = note: can only be called if the required target features are available
32
33 error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
34 --> $DIR/safe-calls.rs:29:5
35 |
36 LL | 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
41 error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
42 --> $DIR/safe-calls.rs:34:5
43 |
44 LL | sse2();
45 | ^^^^^^ call to function with `#[target_feature]`
46 |
47 = note: can only be called if the required target features are available
48
49 error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
50 --> $DIR/safe-calls.rs:35:5
51 |
52 LL | avx_bmi2();
53 | ^^^^^^^^^^ call to function with `#[target_feature]`
54 |
55 = note: can only be called if the required target features are available
56
57 error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
58 --> $DIR/safe-calls.rs:36:5
59 |
60 LL | 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
65 error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
66 --> $DIR/safe-calls.rs:42:5
67 |
68 LL | sse2();
69 | ^^^^^^ call to function with `#[target_feature]`
70 |
71 = note: can only be called if the required target features are available
72
73 error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
74 --> $DIR/safe-calls.rs:45:18
75 |
76 LL | 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
81 error: aborting due to 10 previous errors
82
83 For more information about this error, try `rustc --explain E0133`.