epru16-repru32-repru64' class='section-header'><a href='#repru8-repru16-repru32-repru64'>repr(u8), repr(u16), repr(u32), repr(u64)</a></h1>
<p>These specify the size to make a C-like enum. If the discriminant overflows the
integer it has to fit in, it will produce a compile-time error. You can manually
ask Rust to allow this by setting the overflowing element to explicitly be 0.
However Rust will not allow you to create an enum where two variants have the
same discriminant.</p>

<p>On non-C-like enums, this