2 #![deny(unreachable_patterns)]
8 pub struct ApplicationTy(TypeCtor);
16 fn _foo(ty: ApplicationTy) {
18 ty_app!(TypeCtor::Array) | ty_app!(TypeCtor::Slice) => {}
21 // same as above, with the macro expanded
23 ApplicationTy(TypeCtor::Array) | ApplicationTy(TypeCtor::Slice) => {}