diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2020-11-26 08:16:17 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2020-11-26 21:32:28 +0100 |
| commit | 51d10249e7b91e501a07df87ef56a6a35ee9c4cd (patch) | |
| tree | 0beaae778495019047e39c076c1c179655658843 /src/test | |
| parent | 044a986015da3ef8117ce10361adc458d6a7f28a (diff) | |
| download | rust-51d10249e7b91e501a07df87ef56a6a35ee9c4cd.tar.gz rust-51d10249e7b91e501a07df87ef56a6a35ee9c4cd.zip | |
Bless test.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/asm/naked-invalid-attr.stderr | 16 |
1 files 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,12 +1,4 @@ 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 | LL | #[naked] @@ -33,6 +25,14 @@ 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 | LL | #![naked] |
