]> git.proxmox.com Git - rustc.git/blob - src/test/ui/use/use-self-type.rs
New upstream version 1.63.0+dfsg1
[rustc.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() {}