Skip to content

Commit

Permalink
fix derive-bad.stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
TaKO8Ki committed Apr 10, 2022
1 parent eff6598 commit f50da2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/ui/proc-macro/derive-bad.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ LL | #[derive(A)]
| ^ expected `:`
|
= note: this error originates in the derive macro `A` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider using `enum` instead of `struct`
|
LL | #[derive(enum)]
| ~~~~

error: proc-macro derive produced unparseable tokens
--> $DIR/derive-bad.rs:6:10
Expand Down

0 comments on commit f50da2e

Please sign in to comment.