We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eff6598 commit f50da2eCopy full SHA for f50da2e
src/test/ui/proc-macro/derive-bad.stderr
@@ -5,6 +5,10 @@ LL | #[derive(A)]
5
| ^ expected `:`
6
|
7
= note: this error originates in the derive macro `A` (in Nightly builds, run with -Z macro-backtrace for more info)
8
+help: consider using `enum` instead of `struct`
9
+ |
10
+LL | #[derive(enum)]
11
+ | ~~~~
12
13
error: proc-macro derive produced unparseable tokens
14
--> $DIR/derive-bad.rs:6:10
0 commit comments