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