1 // Output = String caused an ICE whereas Output = &'static str compiled successfully.
2 // Broken MIR: generator contains type std::string::String in MIR,
3 // but typeck only knows about {<S as T>::Future, ()}
7 use std::future::Future;
10 type Future: Future<Output = String>;
11 fn bar() -> Self::Future;
13 pub async fn foo<S>() where S: T {