3 #![allow(unused_assignments)]
4 // pretty-expanded FIXME #23616
5 #![allow(non_camel_case_types)]
6 #![allow(unused_variables)]
8 enum thing { a, b, c, }
10 fn foo<F>(it: F) where F: FnOnce(isize) { it(10); }
15 thing::a => { x = true; foo(|_i| { } ) }
16 thing::b => { x = false; }
17 thing::c => { x = false; }