struct S(T); trait Tr {} impl Self for S {} //~ ERROR expected trait, found self type `Self` impl Self::N for S {} //~ ERROR cannot find trait `N` in `Self` fn main() {}