rust/tests/ui/structs-enums/enum-export-inheritance.rs
2023-01-11 09:32:08 +00:00

16 lines
184 B
Rust

// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
mod a {
pub enum Foo {
Bar,
Baz,
Boo
}
}
pub fn main() {
let _x = a::Foo::Bar;
}