6 lines
122 B
Rust
6 lines
122 B
Rust
|
enum foo = uint;
|
||
|
|
||
|
fn main() {
|
||
|
let (foo, _) = (2, 3); //! ERROR declaration of `foo` shadows an enum that's in scope
|
||
|
}
|