diff options
| author | asquared31415 <34665709+asquared31415@users.noreply.github.com> | 2021-11-12 10:30:20 -0500 |
|---|---|---|
| committer | asquared31415 <34665709+asquared31415@users.noreply.github.com> | 2021-11-12 10:30:20 -0500 |
| commit | e80f3008e0fffb37ccf4b086bd661ebd6a7f43b3 (patch) | |
| tree | 84624c54735ba02c30dd365e6d036e22bd3fb1cb | |
| parent | 3e799e49632ceb9b5da43d56bdab6476b13cb6b7 (diff) | |
| download | rust-e80f3008e0fffb37ccf4b086bd661ebd6a7f43b3.tar.gz rust-e80f3008e0fffb37ccf4b086bd661ebd6a7f43b3.zip | |
fix aarch test error annotations
| -rw-r--r-- | src/test/ui/asm/aarch64/parse-error.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/asm/aarch64/parse-error.rs b/src/test/ui/asm/aarch64/parse-error.rs index 8795f0ebce7..bc0aed8fe55 100644 --- a/src/test/ui/asm/aarch64/parse-error.rs +++ b/src/test/ui/asm/aarch64/parse-error.rs @@ -40,9 +40,9 @@ fn main() { asm!("", clobber_abi(foo)); //~^ ERROR expected string literal asm!("", clobber_abi("C" foo)); - //~^ ERROR expected `)`, found `foo` + //~^ ERROR expected one of `)` or `,`, found `foo` asm!("", clobber_abi("C", foo)); - //~^ ERROR expected `)`, found `,` + //~^ ERROR expected string literal asm!("{}", clobber_abi("C"), const foo); //~^ ERROR arguments are not allowed after clobber_abi //~^^ ERROR attempt to use a non-constant value in a constant @@ -108,9 +108,9 @@ global_asm!("{}", options(), const FOO); global_asm!("", clobber_abi(FOO)); //~^ ERROR expected string literal global_asm!("", clobber_abi("C" FOO)); -//~^ ERROR expected `)`, found `FOO` +//~^ ERROR expected one of `)` or `,`, found `FOO` global_asm!("", clobber_abi("C", FOO)); -//~^ ERROR expected `)`, found `,` +//~^ ERROR expected string literal global_asm!("{}", clobber_abi("C"), const FOO); //~^ ERROR arguments are not allowed after clobber_abi //~^^ ERROR `clobber_abi` cannot be used with `global_asm!` |
