]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/resolve-self-in-impl-2.rs
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[rust.git] / src / test / ui / resolve / resolve-self-in-impl-2.rs
1 struct S<T = u8>(T);
2 trait Tr<T = u8> {}
3
4 impl Self for S {} //~ ERROR expected trait, found self type `Self`
5 impl Self::N for S {} //~ ERROR cannot find trait `N` in `Self`
6
7 fn main() {}