]> git.lizzy.rs Git - rust.git/blob - src/test/ui/structs-enums/struct-variant-field-visibility.rs
Pin panic-in-drop=abort test to old pass manager
[rust.git] / src / test / ui / structs-enums / struct-variant-field-visibility.rs
1 // run-pass
2 #![allow(dead_code)]
3 // pretty-expanded FIXME #23616
4
5 mod foo {
6     pub enum Foo {
7         Bar { a: isize }
8     }
9 }
10
11 fn f(f: foo::Foo) {
12     match f {
13         foo::Foo::Bar { a: _a } => {}
14     }
15 }
16
17 pub fn main() {}