blob: 96af085c5b6b8d8692ed0c7d8e2f196447589cf1 [file] [log] [blame]
// compile-flags: -Zsave-analysis
#![feature(type_alias_impl_trait)]
trait Trait {}
trait Service {
type Future: Trait;
}
struct Struct;
impl Service for Struct {
type Future = impl Trait; //~ ERROR: could not find defining uses
}
fn main() {}