error: Only enums can use this derive
 --> /tests/derive-tests/as_variant/fail/union.rs:4:11
  |
4 | pub union Union {
  |           ^^^^^
