]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/resolve-self-in-impl-2.rs
Merge commit '9e3cd88718cd1912a515d26dbd9c4019fd5a9577' into clippyup
[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() {}