//@ check-pass // Regression test for . pub trait Trait: Supertrait {} trait Impossible {} impl Trait for F {} pub trait Supertrait {} impl Supertrait for T {} fn needs_supertrait() {} fn needs_trait() {} fn main() { needs_supertrait::(); needs_trait::(); }