about summary refs log tree commit diff
path: root/tests/ui/proc-macro
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-08-08 21:36:17 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-08-12 09:24:45 -0700
commitc81fcaca1c4f2e9b39fc8bc3d03a3f19b475d366 (patch)
tree38ebabcdb06c04abf858169d1ff441fd0e2e0152 /tests/ui/proc-macro
parentd7b30bef7ea482a3ded64b3ab41246ad363ee73d (diff)
downloadrust-c81fcaca1c4f2e9b39fc8bc3d03a3f19b475d366.tar.gz
rust-c81fcaca1c4f2e9b39fc8bc3d03a3f19b475d366.zip
Only suggest changing `#[derive(mymacro)]` to `#[mymacro]` for attribute macros
Diffstat (limited to 'tests/ui/proc-macro')
-rw-r--r--tests/ui/proc-macro/macro-namespace-reserved-2.stderr8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/ui/proc-macro/macro-namespace-reserved-2.stderr b/tests/ui/proc-macro/macro-namespace-reserved-2.stderr
index 0471124061e..c8a7cc3ba91 100644
--- a/tests/ui/proc-macro/macro-namespace-reserved-2.stderr
+++ b/tests/ui/proc-macro/macro-namespace-reserved-2.stderr
@@ -95,14 +95,6 @@ error: expected derive macro, found macro `crate::my_macro`
    |
 LL | #[derive(crate::my_macro)]
    |          ^^^^^^^^^^^^^^^ not a derive macro
-   |
-help: remove from the surrounding `derive()`
-  --> $DIR/macro-namespace-reserved-2.rs:50:10
-   |
-LL | #[derive(crate::my_macro)]
-   |          ^^^^^^^^^^^^^^^
-   = help: add as non-Derive macro
-           `#[crate::my_macro]`
 
 error: cannot find macro `my_macro_attr` in this scope
   --> $DIR/macro-namespace-reserved-2.rs:28:5