1 2 3 4 5
enum foo = uint; fn main() { let (foo, _) = (2, 3); //~ ERROR declaration of `foo` shadows an enum that's in scope }