Function rustc_typeck::check::bad_variant_count
source · Expand description
Emit an error when encountering two or more variants in a transparent enum.
Emit an error when encountering two or more variants in a transparent enum.