about summary refs log tree commit diff
path: root/src/test/ui/asm/rustfix-asm.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/asm/rustfix-asm.stderr')
-rw-r--r--src/test/ui/asm/rustfix-asm.stderr18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/ui/asm/rustfix-asm.stderr b/src/test/ui/asm/rustfix-asm.stderr
new file mode 100644
index 00000000000..28675b51d15
--- /dev/null
+++ b/src/test/ui/asm/rustfix-asm.stderr
@@ -0,0 +1,18 @@
+error: legacy asm! syntax is no longer supported
+  --> $DIR/rustfix-asm.rs:10:9
+   |
+LL |         asm!("" :: "r" (x));
+   |         ----^^^^^^^^^^^^^^^^
+   |         |
+   |         help: replace with: `llvm_asm!`
+
+error: legacy asm! syntax is no longer supported
+  --> $DIR/rustfix-asm.rs:12:9
+   |
+LL |         asm!("" : "=r" (y));
+   |         ----^^^^^^^^^^^^^^^^
+   |         |
+   |         help: replace with: `llvm_asm!`
+
+error: aborting due to 2 previous errors
+