closed-trait 0.2.0

Seal a trait to a fixed set of types, and generate an enum and match macro over them
Documentation
1
2
3
4
5
error: `attrs` applies to one enum at a time, as in `owned(attrs = "..")`
 --> tests/ui/attrs_cannot_document.rs:5:13
  |
5 | #[enumerate(attrs = "/// Hand-written docs")]
  |             ^^^^^