1 2 3 4 5 6 7 8 9 10
// run-pass // pretty-expanded FIXME #23616 fn bare() {} fn likes_block<F>(f: F) where F: FnOnce() { f() } pub fn main() { likes_block(bare); }