blob: e28d5ab114c7e6a95c231e3efa97bba43d156994 [file] [log] [blame] [edit]
//@ run-pass
// ^-- The above is needed as this issue is related to LLVM/codegen.
fn main() {
type_error(|x| &x);
}
fn type_error<T>(
_selector: for<'a> fn(&'a Vec<Box<dyn for<'b> Fn(&'b u8)>>) -> &'a Vec<Box<dyn Fn(T)>>,
) {
}