mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
18 lines
229 B
Rust
18 lines
229 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
mod foo {
|
|
pub enum Foo {
|
|
Bar { a: isize }
|
|
}
|
|
}
|
|
|
|
fn f(f: foo::Foo) {
|
|
match f {
|
|
foo::Foo::Bar { a: _a } => {}
|
|
}
|
|
}
|
|
|
|
pub fn main() {}
|