2018-08-08 12:28:26 +00:00
|
|
|
error[E0364]: `foo` is private, and cannot be re-exported
|
2019-10-27 23:57:25 +00:00
|
|
|
--> $DIR/reexports.rs:10:17
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | pub use super::foo;
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: consider marking `foo` as `pub` in the imported module
|
2019-10-27 23:57:25 +00:00
|
|
|
--> $DIR/reexports.rs:10:17
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | pub use super::foo;
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0603]: module `foo` is private
|
2019-10-27 23:57:25 +00:00
|
|
|
--> $DIR/reexports.rs:35:15
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | use b::a::foo::S;
|
2018-10-27 17:21:34 +00:00
|
|
|
| ^^^
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error[E0603]: module `foo` is private
|
2019-10-27 23:57:25 +00:00
|
|
|
--> $DIR/reexports.rs:36:15
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | use b::b::foo::S as T;
|
2018-10-27 17:21:34 +00:00
|
|
|
| ^^^
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2019-10-27 23:57:25 +00:00
|
|
|
warning: this glob doesn't reexport anything because no canditate is public enough
|
|
|
|
--> $DIR/reexports.rs:11:17
|
|
|
|
|
|
|
|
|
LL | pub use super::*;
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/reexports.rs:1:9
|
|
|
|
|
|
|
|
|
LL | #![warn(unused_imports)]
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2019-04-17 17:26:38 +00:00
|
|
|
Some errors have detailed explanations: E0364, E0603.
|
2018-08-08 12:28:26 +00:00
|
|
|
For more information about an error, try `rustc --explain E0364`.
|