// check-pass // compile-flags: -Ztrait-solver=next fn main() { let x: Box> = Box::new(std::iter::empty()); }