blob: f586760c8b096180f9c1ed5bec685b20e20dbab3 [file] [log] [blame]
struct S<T = u8>(T);
trait Tr<T = u8> {}
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() {}