blob: 36d71e5bf52a7c1dbf1e125c6f6f77e94411c52c [file]
#![feature(no_core)]
#![no_core]
struct Bug {
inner: [(); match Vec::new {
f @ |n() => 1
// { dg-error "failed to parse pattern to bind" "" { target *-*-* } .-1 }
// { dg-error "unexpected token .|. in pattern" "" { target *-*-* } .-2 }
}],
}