Skip to content

Commit c7b63c8

Browse files
committed
fix tracking issue number
1 parent 3e00278 commit c7b63c8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

compiler/rustc_feature/src/unstable.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ declare_features! (
369369
(unstable, arbitrary_self_types, "1.23.0", Some(44874)),
370370
/// Allows inherent and trait methods with arbitrary self types that are raw pointers.
371371
(unstable, arbitrary_self_types_pointers, "1.83.0", Some(44874)),
372-
/// Enables experimental inline assembly support for additional architectures.
373-
(unstable, asm_cfg, "CURRENT_RUSTC_VERSION", None),
372+
/// Allows #[cfg(...)] on inline assembly templates and operands.
373+
(unstable, asm_cfg, "CURRENT_RUSTC_VERSION", Some(140364)),
374374
/// Enables experimental inline assembly support for additional architectures.
375375
(unstable, asm_experimental_arch, "1.58.0", Some(93335)),
376376
/// Enables experimental register support in inline assembly.

tests/ui/feature-gates/feature-gate-asm_cfg.stderr

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ error[E0658]: attributes on assembly are unstable
44
LL | #[cfg(false)]
55
| ^^^^^^^^^^^^^
66
|
7+
= note: see issue #140364 <https://github.com/rust-lang/rust/issues/140364> for more information
78
= help: add `#![feature(asm_cfg)]` to the crate attributes to enable
89
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910

@@ -13,6 +14,7 @@ error[E0658]: attributes on assembly are unstable
1314
LL | #[cfg(false)]
1415
| ^^^^^^^^^^^^^
1516
|
17+
= note: see issue #140364 <https://github.com/rust-lang/rust/issues/140364> for more information
1618
= help: add `#![feature(asm_cfg)]` to the crate attributes to enable
1719
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1820

@@ -22,6 +24,7 @@ error[E0658]: attributes on assembly are unstable
2224
LL | #[cfg(false)]
2325
| ^^^^^^^^^^^^^
2426
|
27+
= note: see issue #140364 <https://github.com/rust-lang/rust/issues/140364> for more information
2528
= help: add `#![feature(asm_cfg)]` to the crate attributes to enable
2629
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2730

@@ -31,6 +34,7 @@ error[E0658]: attributes on assembly are unstable
3134
LL | #[cfg(false)]
3235
| ^^^^^^^^^^^^^
3336
|
37+
= note: see issue #140364 <https://github.com/rust-lang/rust/issues/140364> for more information
3438
= help: add `#![feature(asm_cfg)]` to the crate attributes to enable
3539
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3640

0 commit comments

Comments
 (0)