Closed
Description
Specifically, when there is code in the form of SomeEnum::MissingVariant { field: () }
, we should be receiving E0599, behaving the same as if we had written SomeEnum::MissingVariant(())
.
Example to reproduce: https://play.rust-lang.org/?gist=5fd6bb1d589b9e27b7b9ba0cd8d6cb50&version=stable