1 2 3 4 5 6
enum foo = int; fn main() { let x = foo(3); *x = 4; //~ ERROR assigning to enum content }