]> git.proxmox.com Git - rustc.git/blobdiff - src/librustc_error_codes/error_codes/E0668.md
New upstream version 1.44.1+dfsg1
[rustc.git] / src / librustc_error_codes / error_codes / E0668.md
index f5d26244fb961e15abe11e1b8ed946502e4eafee..3b43a1bcae9e6003ecee6c8a40562e83e6af166b 100644 (file)
@@ -7,12 +7,12 @@ assembly call.
 In particular, it can happen if you forgot the closing bracket of a register
 constraint (see issue #51430):
 ```compile_fail,E0668
-#![feature(asm)]
+#![feature(llvm_asm)]
 
 fn main() {
     let rax: u64;
     unsafe {
-        asm!("" :"={rax"(rax));
+        llvm_asm!("" :"={rax"(rax));
         println!("Accumulator is: {}", rax);
     }
 }