Closed emarteca closed 1 week ago
Fixes https://github.com/rust-diplomat/diplomat/issues/732
Instead of throwing an error in lowering, I actually throw it in the parsing -- this makes more sense, since enum variant fields aren't tracked in the ast::Enum.
Fixes https://github.com/rust-diplomat/diplomat/issues/732
Instead of throwing an error in lowering, I actually throw it in the parsing -- this makes more sense, since enum variant fields aren't tracked in the ast::Enum.