From 51d10249e7b91e501a07df87ef56a6a35ee9c4cd Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Thu, 26 Nov 2020 08:16:17 +0100 Subject: [PATCH] Bless test. --- src/test/ui/asm/naked-invalid-attr.stderr | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/ui/asm/naked-invalid-attr.stderr b/src/test/ui/asm/naked-invalid-attr.stderr index beaa34140c9..565c2986a66 100644 --- a/src/test/ui/asm/naked-invalid-attr.stderr +++ b/src/test/ui/asm/naked-invalid-attr.stderr @@ -1,11 +1,3 @@ -error: attribute should be applied to a function definition - --> $DIR/naked-invalid-attr.rs:9:5 - | -LL | #[naked] - | ^^^^^^^^ -LL | fn f(); - | ------- not a function definition - error: attribute should be applied to a function definition --> $DIR/naked-invalid-attr.rs:13:1 | @@ -32,6 +24,14 @@ LL | #[naked] LL | extern "C" fn invoke(&self); | ---------------------------- not a function definition +error: attribute should be applied to a function definition + --> $DIR/naked-invalid-attr.rs:9:5 + | +LL | #[naked] + | ^^^^^^^^ +LL | fn f(); + | ------- not a function definition + error: attribute should be applied to a function definition --> $DIR/naked-invalid-attr.rs:6:1 |