]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/feature-gate-asm_const.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-asm_const.stderr
CommitLineData
3c0e092e 1error[E0658]: const operands for inline assembly are unstable
923072b8
FG
2 --> $DIR/feature-gate-asm_const.rs:6:25
3 |
4LL | 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
10error[E0658]: const operands for inline assembly are unstable
11 --> $DIR/feature-gate-asm_const.rs:13:29
3c0e092e
XL
12 |
13LL | 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 19error: aborting due to 2 previous errors
3c0e092e
XL
20
21For more information about this error, try `rustc --explain E0658`.