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
Activity
estebank commentedon May 23, 2019
Current output:
It is close enough, but it needs to be turned into a E0599 instead of a codeless error.
Rollup merge of rust-lang#68014 - estebank:unify-e0599, r=cramertj
Rollup merge of rust-lang#68014 - estebank:unify-e0599, r=cramertj