]> git.proxmox.com Git - rustc.git/blobdiff - 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
index 370593b2eb22b091b509daf74054fdd31677a69a..3b4ce429701977b3ffb896d1c13d92ac686b2920 100644 (file)
@@ -4,7 +4,7 @@ impl S {
     fn f() {}
     fn g() {
         use Self::f; //~ ERROR unresolved import
-        pub(in Self::f) struct Z; //~ ERROR use of undeclared type `Self`
+        pub(in Self::f) struct Z; //~ ERROR failed to resolve: `Self`
     }
 }