about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-05-24 16:33:06 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-05-24 16:33:06 +0000
commit46a23420b6c2134b9f023898e22b9868d3bc664e (patch)
treeed57144bf3acd0647052f7cd62071601bdbc9180
parentd5ffe11cd904ef780d68925fcaa7a9ee57c83832 (diff)
downloadrust-46a23420b6c2134b9f023898e22b9868d3bc664e.tar.gz
rust-46a23420b6c2134b9f023898e22b9868d3bc664e.zip
Update messages
-rw-r--r--src/test/ui/asm/x86_64/type-check-2.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/asm/x86_64/type-check-2.rs b/src/test/ui/asm/x86_64/type-check-2.rs
index 41900072b6e..59d8cde3fb6 100644
--- a/src/test/ui/asm/x86_64/type-check-2.rs
+++ b/src/test/ui/asm/x86_64/type-check-2.rs
@@ -52,11 +52,11 @@ fn main() {
         asm!("{}", in(reg) |x: i32| x);
         //~^ ERROR cannot use value of type
         asm!("{}", in(reg) vec![0]);
-        //~^ ERROR cannot use value of type `Vec<{integer}>` for inline assembly
+        //~^ ERROR cannot use value of type `Vec<i32>` for inline assembly
         asm!("{}", in(reg) (1, 2, 3));
-        //~^ ERROR cannot use value of type `({integer}, {integer}, {integer})` for inline assembly
+        //~^ ERROR cannot use value of type `(i32, i32, i32)` for inline assembly
         asm!("{}", in(reg) [1, 2, 3]);
-        //~^ ERROR cannot use value of type `[{integer}; 3]` for inline assembly
+        //~^ ERROR cannot use value of type `[i32; 3]` for inline assembly
 
         // Register inputs (but not outputs) allow references and function types
 
@@ -67,7 +67,7 @@ fn main() {
         //~^ ERROR cannot use value of type `fn() {main}` for inline assembly
         asm!("{}", in(reg) r);
         asm!("{}", inout(reg) r);
-        //~^ ERROR cannot use value of type `&mut {integer}` for inline assembly
+        //~^ ERROR cannot use value of type `&mut i32` for inline assembly
         let _ = (f, r);
 
         // Type checks ignore never type