1- error[E0658]: attributes on assembly are unstable
1+ error[E0658]: the `#[cfg(/* ... */)]` and `#[cfg_attr(/* ... */)]` attributes on assembly are unstable
22 --> $DIR/feature-gate-asm_cfg.rs:8:5
33 |
44LL | #[cfg(false)]
@@ -8,8 +8,8 @@ LL | #[cfg(false)]
88 = help: add `#![feature(asm_cfg)]` to the crate attributes to enable
99 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
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
1313 |
1414LL | #[cfg(false)]
1515 | ^^^^^^^^^^^^^
@@ -18,8 +18,8 @@ LL | #[cfg(false)]
1818 = help: add `#![feature(asm_cfg)]` to the crate attributes to enable
1919 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2020
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
2323 |
2424LL | #[cfg(false)]
2525 | ^^^^^^^^^^^^^
@@ -28,8 +28,8 @@ LL | #[cfg(false)]
2828 = help: add `#![feature(asm_cfg)]` to the crate attributes to enable
2929 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3030
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
3333 |
3434LL | #[cfg(false)]
3535 | ^^^^^^^^^^^^^
@@ -38,14 +38,20 @@ LL | #[cfg(false)]
3838 = help: add `#![feature(asm_cfg)]` to the crate attributes to enable
3939 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4040
41+ error: this attribute is not supported on assembly
42+ --> $DIR/feature-gate-asm_cfg.rs:43:13
43+ |
44+ LL | #[inline]
45+ | ^^^^^^^^^
46+
4147error: `C` ABI specified multiple times
42- --> $DIR/feature-gate-asm_cfg.rs:31 :13
48+ --> $DIR/feature-gate-asm_cfg.rs:35 :13
4349 |
4450LL | clobber_abi("C"),
4551 | ---------------- previously specified here
4652LL | clobber_abi("C"),
4753 | ^^^^^^^^^^^^^^^^
4854
49- error: aborting due to 5 previous errors
55+ error: aborting due to 6 previous errors
5056
5157For more information about this error, try `rustc --explain E0658`.
0 commit comments