]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/privacy/restricted/test.stderr
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / ui / privacy / restricted / test.stderr
index 67a95c35590180ac57d2bd84fdfe7ff0d41fdb37..afc3ee2db4b8f1cb7b34a7175ce919b72a284927 100644 (file)
@@ -23,16 +23,16 @@ LL |         pub(super) use foo::bar::f as g; //~ ERROR cannot be re-exported
    |                        ^^^^^^^^^^^^^^^^
 
 error[E0603]: struct `Crate` is private
-  --> $DIR/test.rs:48:9
+  --> $DIR/test.rs:48:25
    |
 LL |     use pub_restricted::Crate; //~ ERROR private
-   |         ^^^^^^^^^^^^^^^^^^^^^
+   |                         ^^^^^
 
 error[E0603]: function `f` is private
-  --> $DIR/test.rs:40:9
+  --> $DIR/test.rs:40:19
    |
 LL |     use foo::bar::f; //~ ERROR private
-   |         ^^^^^^^^^^^
+   |                   ^
 
 error[E0616]: field `x` of struct `foo::bar::S` is private
   --> $DIR/test.rs:41:5