blob: b9d57a2822d213f88c960803c0b0d3d5b8b1cd95 [file] [log] [blame]
//@ known-bug: #140011
//@compile-flags: -Wrust-2021-incompatible-closure-captures
enum b {
c(d),
e(f),
}
struct f;
fn g() {
let h;
|| b::e(a) = h;
}