@@ -52,11 +52,11 @@ fn main() {
52
52
asm ! ( "{}" , in( reg) |x: i32 | x) ;
53
53
//~^ ERROR cannot use value of type
54
54
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
56
56
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
58
58
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
60
60
61
61
// Register inputs (but not outputs) allow references and function types
62
62
@@ -67,7 +67,7 @@ fn main() {
67
67
//~^ ERROR cannot use value of type `fn() {main}` for inline assembly
68
68
asm ! ( "{}" , in( reg) r) ;
69
69
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
71
71
let _ = ( f, r) ;
72
72
73
73
// Type checks ignore never type
0 commit comments