Skip to content

Commit e80f300

Browse files
committed
fix aarch test error annotations
1 parent 3e799e4 commit e80f300

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/ui/asm/aarch64/parse-error.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ fn main() {
4040
asm!("", clobber_abi(foo));
4141
//~^ ERROR expected string literal
4242
asm!("", clobber_abi("C" foo));
43-
//~^ ERROR expected `)`, found `foo`
43+
//~^ ERROR expected one of `)` or `,`, found `foo`
4444
asm!("", clobber_abi("C", foo));
45-
//~^ ERROR expected `)`, found `,`
45+
//~^ ERROR expected string literal
4646
asm!("{}", clobber_abi("C"), const foo);
4747
//~^ ERROR arguments are not allowed after clobber_abi
4848
//~^^ ERROR attempt to use a non-constant value in a constant
@@ -108,9 +108,9 @@ global_asm!("{}", options(), const FOO);
108108
global_asm!("", clobber_abi(FOO));
109109
//~^ ERROR expected string literal
110110
global_asm!("", clobber_abi("C" FOO));
111-
//~^ ERROR expected `)`, found `FOO`
111+
//~^ ERROR expected one of `)` or `,`, found `FOO`
112112
global_asm!("", clobber_abi("C", FOO));
113-
//~^ ERROR expected `)`, found `,`
113+
//~^ ERROR expected string literal
114114
global_asm!("{}", clobber_abi("C"), const FOO);
115115
//~^ ERROR arguments are not allowed after clobber_abi
116116
//~^^ ERROR `clobber_abi` cannot be used with `global_asm!`

0 commit comments

Comments
 (0)