Skip to content

Commit 46a2342

Browse files
committed
Update messages
1 parent d5ffe11 commit 46a2342

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/ui/asm/x86_64/type-check-2.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ fn main() {
5252
asm!("{}", in(reg) |x: i32| x);
5353
//~^ ERROR cannot use value of type
5454
asm!("{}", in(reg) vec![0]);
55-
//~^ ERROR cannot use value of type `Vec<{integer}>` for inline assembly
55+
//~^ ERROR cannot use value of type `Vec<i32>` for inline assembly
5656
asm!("{}", in(reg) (1, 2, 3));
57-
//~^ ERROR cannot use value of type `({integer}, {integer}, {integer})` for inline assembly
57+
//~^ ERROR cannot use value of type `(i32, i32, i32)` for inline assembly
5858
asm!("{}", in(reg) [1, 2, 3]);
59-
//~^ ERROR cannot use value of type `[{integer}; 3]` for inline assembly
59+
//~^ ERROR cannot use value of type `[i32; 3]` for inline assembly
6060

6161
// Register inputs (but not outputs) allow references and function types
6262

@@ -67,7 +67,7 @@ fn main() {
6767
//~^ ERROR cannot use value of type `fn() {main}` for inline assembly
6868
asm!("{}", in(reg) r);
6969
asm!("{}", inout(reg) r);
70-
//~^ ERROR cannot use value of type `&mut {integer}` for inline assembly
70+
//~^ ERROR cannot use value of type `&mut i32` for inline assembly
7171
let _ = (f, r);
7272

7373
// Type checks ignore never type

0 commit comments

Comments
 (0)