rust/tests/ui/consts/miri_unleashed/inline_asm.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
509 B
Plaintext
Raw Normal View History

2020-04-19 05:05:28 -05:00
error[E0080]: could not evaluate static initializer
2022-09-21 06:05:20 -05:00
--> $DIR/inline_asm.rs:10:14
2020-06-01 13:53:45 -05:00
|
LL | unsafe { asm!("nop"); }
2021-10-14 13:28:28 -05:00
| ^^^^^^^^^^^ inline assembly is not supported
2020-06-01 13:53:45 -05:00
2020-05-03 07:23:08 -05:00
warning: skipping const checks
|
help: skipping check that does not even have a feature gate
2022-09-21 06:05:20 -05:00
--> $DIR/inline_asm.rs:10:14
2020-06-01 13:53:45 -05:00
|
LL | unsafe { asm!("nop"); }
2021-10-14 13:28:28 -05:00
| ^^^^^^^^^^^
2020-05-03 07:23:08 -05:00
error: aborting due to 1 previous error; 1 warning emitted
2020-04-19 05:05:28 -05:00
For more information about this error, try `rustc --explain E0080`.