// compile-flags: -Ztrait-solver=next // check-pass use std::{iter, slice}; struct Attr; fn test<'a, T: Iterator>() {} fn main() { test::, fn(&&Attr) -> bool>>(); }