44a3a66ee8
They are also removed from the prelude as per the decision in https://github.com/rust-lang/rust/issues/87228. stdarch and compiler-builtins are updated to work with the new, stable asm! and global_asm! macros.
21 lines
788 B
Plaintext
21 lines
788 B
Plaintext
error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
|
|
--> $DIR/inline_asm.rs:11:5
|
|
|
|
|
LL | asm!("nop");
|
|
| ^^^^^^^^^^^ use of inline assembly
|
|
|
|
|
= note: inline assembly is entirely unchecked and can cause undefined behavior
|
|
|
|
error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
|
|
--> $DIR/inline_asm.rs:12:5
|
|
|
|
|
LL | llvm_asm!("nop");
|
|
| ^^^^^^^^^^^^^^^^ use of inline assembly
|
|
|
|
|
= note: inline assembly is entirely unchecked and can cause undefined behavior
|
|
= note: this error originates in the macro `llvm_asm` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0133`.
|