1 2 3 4 5 6 7 8 9
// check-pass enum E {} fn f(e: E) { println!("{}", (e as isize).to_string()); } fn main() {}