]> git.lizzy.rs Git - rust.git/blob - src/test/ui/use/use-self-type.rs
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
[rust.git] / src / test / ui / use / use-self-type.rs
1 struct S;
2
3 impl S {
4     fn f() {}
5     fn g() {
6         use Self::f; //~ ERROR unresolved import
7         pub(in Self::f) struct Z; //~ ERROR failed to resolve: `Self`
8     }
9 }
10
11 fn main() {}