mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
17 lines
252 B
Rust
17 lines
252 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();
|
|
}
|