]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/xc-private-method.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / xc-private-method.stderr
index 91bec2551c1e0655b1215365e3728305b2435752..8b7e43ccc04e90e4f566ede7d44dbebd68e9da48 100644 (file)
@@ -1,14 +1,14 @@
-error[E0624]: method `static_meth_struct` is private
-  --> $DIR/xc-private-method.rs:6:13
+error[E0624]: associated function `static_meth_struct` is private
+  --> $DIR/xc-private-method.rs:6:44
    |
 LL |     let _ = xc_private_method_lib::Struct::static_meth_struct();
-   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |                                            ^^^^^^^^^^^^^^^^^^ private associated function
 
-error[E0624]: method `static_meth_enum` is private
-  --> $DIR/xc-private-method.rs:9:13
+error[E0624]: associated function `static_meth_enum` is private
+  --> $DIR/xc-private-method.rs:9:42
    |
 LL |     let _ = xc_private_method_lib::Enum::static_meth_enum();
-   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |                                          ^^^^^^^^^^^^^^^^ private associated function
 
 error: aborting due to 2 previous errors