diff options
Diffstat (limited to 'tests/ui/pin_project/visibility.stderr')
-rw-r--r-- | tests/ui/pin_project/visibility.stderr | 70 |
1 files changed, 15 insertions, 55 deletions
diff --git a/tests/ui/pin_project/visibility.stderr b/tests/ui/pin_project/visibility.stderr index cab0e2e..a1f0423 100644 --- a/tests/ui/pin_project/visibility.stderr +++ b/tests/ui/pin_project/visibility.stderr @@ -1,79 +1,39 @@ -error[E0365]: `__DefaultProjection` is private, and cannot be re-exported - --> $DIR/visibility.rs:12:13 - | -12 | pub use crate::pub_::__DefaultProjection; //~ ERROR E0365 - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `__DefaultProjection` - | - = note: consider declaring type or module `__DefaultProjection` with `pub` - -error[E0365]: `__DefaultProjectionRef` is private, and cannot be re-exported - --> $DIR/visibility.rs:14:13 - | -14 | pub use crate::pub_::__DefaultProjectionRef; //~ ERROR E0365 - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `__DefaultProjectionRef` - | - = note: consider declaring type or module `__DefaultProjectionRef` with `pub` - -error[E0365]: `__ReplaceProjection` is private, and cannot be re-exported - --> $DIR/visibility.rs:16:13 - | -16 | pub use crate::pub_::__ReplaceProjection; //~ ERROR E0365 - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `__ReplaceProjection` - | - = note: consider declaring type or module `__ReplaceProjection` with `pub` - -error[E0365]: `__ReplaceProjectionOwned` is private, and cannot be re-exported - --> $DIR/visibility.rs:18:13 - | -18 | pub use crate::pub_::__ReplaceProjectionOwned; //~ ERROR E0365 - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `__ReplaceProjectionOwned` - | - = note: consider declaring type or module `__ReplaceProjectionOwned` with `pub` - -error[E0365]: `__ReplaceProjectionRef` is private, and cannot be re-exported - --> $DIR/visibility.rs:20:13 - | -20 | pub use crate::pub_::__ReplaceProjectionRef; //~ ERROR E0365 - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `__ReplaceProjectionRef` - | - = note: consider declaring type or module `__ReplaceProjectionRef` with `pub` - error[E0365]: `DProj` is private, and cannot be re-exported - --> $DIR/visibility.rs:63:13 + --> $DIR/visibility.rs:15:13 | -63 | pub use crate::pub_renamed::DProj; //~ ERROR E0365 - | ^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `DProj` +15 | pub use crate::pub_::DProj; //~ ERROR E0365 + | ^^^^^^^^^^^^^^^^^^ re-export of private `DProj` | = note: consider declaring type or module `DProj` with `pub` error[E0365]: `DProjRef` is private, and cannot be re-exported - --> $DIR/visibility.rs:65:13 + --> $DIR/visibility.rs:17:13 | -65 | pub use crate::pub_renamed::DProjRef; //~ ERROR E0365 - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `DProjRef` +17 | pub use crate::pub_::DProjRef; //~ ERROR E0365 + | ^^^^^^^^^^^^^^^^^^^^^ re-export of private `DProjRef` | = note: consider declaring type or module `DProjRef` with `pub` error[E0365]: `RProj` is private, and cannot be re-exported - --> $DIR/visibility.rs:67:13 + --> $DIR/visibility.rs:19:13 | -67 | pub use crate::pub_renamed::RProj; //~ ERROR E0365 - | ^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `RProj` +19 | pub use crate::pub_::RProj; //~ ERROR E0365 + | ^^^^^^^^^^^^^^^^^^ re-export of private `RProj` | = note: consider declaring type or module `RProj` with `pub` error[E0365]: `RProjOwn` is private, and cannot be re-exported - --> $DIR/visibility.rs:69:13 + --> $DIR/visibility.rs:21:13 | -69 | pub use crate::pub_renamed::RProjOwn; //~ ERROR E0365 - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `RProjOwn` +21 | pub use crate::pub_::RProjOwn; //~ ERROR E0365 + | ^^^^^^^^^^^^^^^^^^^^^ re-export of private `RProjOwn` | = note: consider declaring type or module `RProjOwn` with `pub` error[E0365]: `RProjRef` is private, and cannot be re-exported - --> $DIR/visibility.rs:71:13 + --> $DIR/visibility.rs:23:13 | -71 | pub use crate::pub_renamed::RProjRef; //~ ERROR E0365 - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `RProjRef` +23 | pub use crate::pub_::RProjRef; //~ ERROR E0365 + | ^^^^^^^^^^^^^^^^^^^^^ re-export of private `RProjRef` | = note: consider declaring type or module `RProjRef` with `pub` |