mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
15 lines
153 B
Rust
15 lines
153 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
|
|
mod a {
|
|
pub enum Foo {
|
|
Bar,
|
|
Baz,
|
|
Boo
|
|
}
|
|
}
|
|
|
|
pub fn main() {
|
|
let _x = a::Foo::Bar;
|
|
}
|