@@ -40,9 +40,9 @@ fn main() {
40
40
asm ! ( "" , clobber_abi( foo) ) ;
41
41
//~^ ERROR expected string literal
42
42
asm ! ( "" , clobber_abi( "C" foo) ) ;
43
- //~^ ERROR expected `) `, found `foo`
43
+ //~^ ERROR expected one of `)` or `, `, found `foo`
44
44
asm ! ( "" , clobber_abi( "C" , foo) ) ;
45
- //~^ ERROR expected `)`, found `,`
45
+ //~^ ERROR expected string literal
46
46
asm ! ( "{}" , clobber_abi( "C" ) , const foo) ;
47
47
//~^ ERROR arguments are not allowed after clobber_abi
48
48
//~^^ ERROR attempt to use a non-constant value in a constant
@@ -108,9 +108,9 @@ global_asm!("{}", options(), const FOO);
108
108
global_asm ! ( "" , clobber_abi( FOO ) ) ;
109
109
//~^ ERROR expected string literal
110
110
global_asm ! ( "" , clobber_abi( "C" FOO ) ) ;
111
- //~^ ERROR expected `) `, found `FOO`
111
+ //~^ ERROR expected one of `)` or `, `, found `FOO`
112
112
global_asm ! ( "" , clobber_abi( "C" , FOO ) ) ;
113
- //~^ ERROR expected `)`, found `,`
113
+ //~^ ERROR expected string literal
114
114
global_asm ! ( "{}" , clobber_abi( "C" ) , const FOO ) ;
115
115
//~^ ERROR arguments are not allowed after clobber_abi
116
116
//~^^ ERROR `clobber_abi` cannot be used with `global_asm!`
0 commit comments