]>
Commit | Line | Data |
---|---|---|
3c0e092e | 1 | error[E0658]: const operands for inline assembly are unstable |
923072b8 FG |
2 | --> $DIR/feature-gate-asm_const.rs:6:25 |
3 | | | |
4 | LL | asm!("mov eax, {}", const N + 1); | |
5 | | ^^^^^^^^^^^ | |
6 | | | |
7 | = note: see issue #93332 <https://github.com/rust-lang/rust/issues/93332> for more information | |
8 | = help: add `#![feature(asm_const)]` to the crate attributes to enable | |
9 | ||
10 | error[E0658]: const operands for inline assembly are unstable | |
11 | --> $DIR/feature-gate-asm_const.rs:13:29 | |
3c0e092e XL |
12 | | |
13 | LL | asm!("mov eax, {}", const 123); | |
14 | | ^^^^^^^^^ | |
15 | | | |
5099ac24 | 16 | = note: see issue #93332 <https://github.com/rust-lang/rust/issues/93332> for more information |
3c0e092e XL |
17 | = help: add `#![feature(asm_const)]` to the crate attributes to enable |
18 | ||
923072b8 | 19 | error: aborting due to 2 previous errors |
3c0e092e XL |
20 | |
21 | For more information about this error, try `rustc --explain E0658`. |