]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-path.rs
Auto merge of #104730 - petrochenkov:modchild5, r=cjgillot
[rust.git] / src / test / ui / binding / match-path.rs
1 // run-pass
2 #![allow(dead_code)]
3 #![allow(non_camel_case_types)]
4
5
6 // pretty-expanded FIXME #23616
7
8 mod m1 {
9     pub enum foo { foo1, foo2, }
10 }
11
12 fn bar(x: m1::foo) { match x { m1::foo::foo1 => { } m1::foo::foo2 => { } } }
13
14 pub fn main() { }