// check-pass // compile-flags: -Ztrait-solver=next use std::fmt::Display; fn box_dyn_display(_: Box) {} fn main() { // During coercion, we don't necessarily know whether `{integer}` implements // `Display`. Before, that would cause us to bail out in the coercion loop when // checking `{integer}: Unsize`. box_dyn_display(Box::new(1)); }