//@ check-pass //@ compile-flags: -Znext-solver // Regression test for . fn execute(q: F::Item) -> R where F: Iterator, // Both of the below bounds should be considered for `.into()`, and then be combined // into a single `R: Into` bound which can be inferred to `?0 = R`. F::Item: Into, R: Into, { q.into() } fn main() {}