]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/resolve/privacy-struct-ctor.stderr
Shorten def_span for more items.
[rust.git] / src / test / ui / resolve / privacy-struct-ctor.stderr
index ada053014ef5eb38e064fcf7c2c7c54ab94d6d09..17a666a401ce85a6387ab82d08d31f9aa7191132 100644 (file)
@@ -114,7 +114,7 @@ note: the tuple struct constructor `S` is defined here
   --> $DIR/auxiliary/privacy-struct-ctor.rs:2:5
    |
 LL |     pub struct S(u8);
-   |     ^^^^^^^^^^^^^^^^^
+   |     ^^^^^^^^^^^^
 
 error[E0603]: tuple struct constructor `Z` is private
   --> $DIR/privacy-struct-ctor.rs:45:19
@@ -131,7 +131,7 @@ note: the tuple struct constructor `Z` is defined here
   --> $DIR/auxiliary/privacy-struct-ctor.rs:5:9
    |
 LL |         pub(in m) struct Z(pub(in m::n) u8);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |         ^^^^^^^^^^^^^^^^^^
 
 error: aborting due to 10 previous errors