mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
16 lines
254 B
Rust
16 lines
254 B
Rust
//@ run-pass
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
#![allow(non_camel_case_types)]
|
|
|
|
pub fn main() {
|
|
let one = || {
|
|
enum r { a }
|
|
r::a as usize
|
|
};
|
|
let two = || {
|
|
enum r { a }
|
|
r::a as usize
|
|
};
|
|
one(); two();
|
|
}
|