1
- error[E0658]: attributes on assembly are unstable
1
+ error[E0658]: the `#[cfg(/* ... */)]` and `#[cfg_attr(/* ... */)]` attributes on assembly are unstable
2
2
--> $DIR/feature-gate-asm_cfg.rs:8:5
3
3
|
4
4
LL | #[cfg(false)]
@@ -8,8 +8,8 @@ LL | #[cfg(false)]
8
8
= help: add `#![feature(asm_cfg)]` to the crate attributes to enable
9
9
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
10
10
11
- error[E0658]: attributes on assembly are unstable
12
- --> $DIR/feature-gate-asm_cfg.rs:17 :9
11
+ error[E0658]: the `#[cfg(/* ... */)]` and `#[cfg_attr(/* ... */)]` attributes on assembly are unstable
12
+ --> $DIR/feature-gate-asm_cfg.rs:18 :9
13
13
|
14
14
LL | #[cfg(false)]
15
15
| ^^^^^^^^^^^^^
@@ -18,8 +18,8 @@ LL | #[cfg(false)]
18
18
= help: add `#![feature(asm_cfg)]` to the crate attributes to enable
19
19
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
20
20
21
- error[E0658]: attributes on assembly are unstable
22
- --> $DIR/feature-gate-asm_cfg.rs:20 :9
21
+ error[E0658]: the `#[cfg(/* ... */)]` and `#[cfg_attr(/* ... */)]` attributes on assembly are unstable
22
+ --> $DIR/feature-gate-asm_cfg.rs:22 :9
23
23
|
24
24
LL | #[cfg(false)]
25
25
| ^^^^^^^^^^^^^
@@ -28,8 +28,8 @@ LL | #[cfg(false)]
28
28
= help: add `#![feature(asm_cfg)]` to the crate attributes to enable
29
29
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
30
30
31
- error[E0658]: attributes on assembly are unstable
32
- --> $DIR/feature-gate-asm_cfg.rs:29 :13
31
+ error[E0658]: the `#[cfg(/* ... */)]` and `#[cfg_attr(/* ... */)]` attributes on assembly are unstable
32
+ --> $DIR/feature-gate-asm_cfg.rs:32 :13
33
33
|
34
34
LL | #[cfg(false)]
35
35
| ^^^^^^^^^^^^^
@@ -38,14 +38,20 @@ LL | #[cfg(false)]
38
38
= help: add `#![feature(asm_cfg)]` to the crate attributes to enable
39
39
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
40
40
41
+ error: this attribute is not supported on assembly
42
+ --> $DIR/feature-gate-asm_cfg.rs:43:13
43
+ |
44
+ LL | #[inline]
45
+ | ^^^^^^^^^
46
+
41
47
error: `C` ABI specified multiple times
42
- --> $DIR/feature-gate-asm_cfg.rs:31 :13
48
+ --> $DIR/feature-gate-asm_cfg.rs:35 :13
43
49
|
44
50
LL | clobber_abi("C"),
45
51
| ---------------- previously specified here
46
52
LL | clobber_abi("C"),
47
53
| ^^^^^^^^^^^^^^^^
48
54
49
- error: aborting due to 5 previous errors
55
+ error: aborting due to 6 previous errors
50
56
51
57
For more information about this error, try `rustc --explain E0658`.
0 commit comments