diff options
| author | Tom Martin <tom.martin1239@gmail.com> | 2023-04-01 03:52:58 +0100 |
|---|---|---|
| committer | Tom Martin <tom.martin1239@gmail.com> | 2023-04-01 03:52:58 +0100 |
| commit | 86230dcde6f68e049c0eb67e805d410fe0872422 (patch) | |
| tree | eb34518dea4f6c9db51f3b3c18bd8db1bf1256ed /tests/ui/tool-attributes | |
| parent | ed84d1d9052912d4d948313be72a6dd50c2baa26 (diff) | |
| download | rust-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.stderr | 10 |
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]` |
