codegen
codegen copied to clipboard
Add variant docs and non_exhaustive option
I want to add docs to enum variants and also to be able to have a non_exhaustive enum.
(Would also like to be able to add constants to modules - will probably follow up with a separate PR for that.)
sorry, forgot the tests initially; now added.