1 // Adaptation of existing ui test (from way back in
2 // rust-lang/rust#2329), that starts passing with this feature in
7 #![feature(bind_by_move_pattern_guards)]
9 use std::sync::mpsc::channel;
12 let (tx, rx) = channel();
17 Some(z) if z.recv().unwrap() => { panic!() },
18 Some(z) => { assert!(!z.recv().unwrap()); },