]> git.proxmox.com Git - rustc.git/blame - src/test/ui/binding/match-path.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / binding / match-path.rs
CommitLineData
b7449926 1// run-pass
0bf4aa26 2#![allow(dead_code)]
b7449926 3#![allow(non_camel_case_types)]
223e47cc
LB
4
5
c34b1796
AL
6// pretty-expanded FIXME #23616
7
223e47cc
LB
8mod m1 {
9 pub enum foo { foo1, foo2, }
10}
11
1a4d82fc 12fn bar(x: m1::foo) { match x { m1::foo::foo1 => { } m1::foo::foo2 => { } } }
223e47cc
LB
13
14pub fn main() { }