From 14947b410ad23a09251180af50486e247f70b465 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Thu, 21 Dec 2023 12:07:52 +0000 Subject: [PATCH] adapt test stderr for LLVM 18 changes --- tests/ui/asm/inline-syntax.arm.stderr | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/tests/ui/asm/inline-syntax.arm.stderr b/tests/ui/asm/inline-syntax.arm.stderr index 1352fb3771be3..903d768c01d50 100644 --- a/tests/ui/asm/inline-syntax.arm.stderr +++ b/tests/ui/asm/inline-syntax.arm.stderr @@ -1,9 +1,20 @@ error: unknown directive -.intel_syntax noprefix -^ + | +note: instantiated into assembly here + --> :1:1 + | +LL | .intel_syntax noprefix + | ^ + error: unknown directive -.intel_syntax noprefix -^ + | +note: instantiated into assembly here + --> :1:1 + | +LL | .intel_syntax noprefix + | ^ + = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` + error: unknown directive | note: instantiated into assembly here @@ -84,5 +95,5 @@ note: instantiated into assembly here LL | .intel_syntax noprefix | ^ -error: aborting due to 7 previous errors +error: aborting due to 9 previous errors