]>
git.proxmox.com Git - rustc.git/blob - src/test/run-pass/issues/issue-6449.rs
16 ::Foo
::Bar(3) => panic
!(),
17 ::Foo
::Bar(_
) if false => panic
!(),
18 ::Foo
::Bar(..) if false => panic
!(),
19 ::Foo
::Bar(_n
) => panic
!(),
24 ::Foo
::Bar(_
) if false => panic
!(),
25 ::Foo
::Bar(..) if false => panic
!(),
26 ::Foo
::Bar(_n
) => panic
!(),
27 ::Foo
::Baz
=> panic
!(),
30 ::Foo
::Bar(3) => panic
!(),
31 ::Foo
::Bar(_
) if false => panic
!(),
32 ::Foo
::Bar(..) if false => panic
!(),
33 ::Foo
::Bar(n
) => assert_eq
!(n
, 4),
34 ::Foo
::Baz
=> panic
!(),
37 match Other
::Other1(Foo
::Baz
) {
38 ::Other
::Other1(::Foo
::Baz
) => {}
39 ::Other
::Other1(::Foo
::Bar(_
)) => {}
40 ::Other
::Other2(::Foo
::Baz
, ::Foo
::Bar(_
)) => {}
41 ::Other
::Other2(::Foo
::Bar(..), ::Foo
::Baz
) => {}
42 ::Other
::Other2(..) => {}