about summary refs log tree commit diff
path: root/tests/ui/tool-attributes
diff options
context:
space:
mode:
authorTom Martin <tom.martin1239@gmail.com>2023-04-01 03:52:58 +0100
committerTom Martin <tom.martin1239@gmail.com>2023-04-01 03:52:58 +0100
commit86230dcde6f68e049c0eb67e805d410fe0872422 (patch)
treeeb34518dea4f6c9db51f3b3c18bd8db1bf1256ed /tests/ui/tool-attributes
parented84d1d9052912d4d948313be72a6dd50c2baa26 (diff)
downloadrust-86230dcde6f68e049c0eb67e805d410fe0872422.tar.gz
rust-86230dcde6f68e049c0eb67e805d410fe0872422.zip
Bless
Diffstat (limited to 'tests/ui/tool-attributes')
-rw-r--r--tests/ui/tool-attributes/tool-attributes-misplaced-2.stderr10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/ui/tool-attributes/tool-attributes-misplaced-2.stderr b/tests/ui/tool-attributes/tool-attributes-misplaced-2.stderr
index c1ed2618b2a..b1ecd528938 100644
--- a/tests/ui/tool-attributes/tool-attributes-misplaced-2.stderr
+++ b/tests/ui/tool-attributes/tool-attributes-misplaced-2.stderr
@@ -2,11 +2,13 @@ error: expected derive macro, found tool attribute `rustfmt::skip`
   --> $DIR/tool-attributes-misplaced-2.rs:1:10
    |
 LL | #[derive(rustfmt::skip)]
-   |          ^^^^^^^^^^^^^
-   |          |
-   |          not a derive macro
-   |          help: Remove from the surrounding `derive()`
+   |          ^^^^^^^^^^^^^ not a derive macro
+   |
+help: Remove from the surrounding `derive()`
+  --> $DIR/tool-attributes-misplaced-2.rs:1:10
    |
+LL | #[derive(rustfmt::skip)]
+   |          ^^^^^^^^^^^^^
    = help: Add as non-Derive macro
            `#[rustfmt::skip]`