2018-02-07 19:35:35 -08:00
|
|
|
error[E0365]: `foo` is private, and cannot be re-exported
|
|
|
|
--> $DIR/E0365.rs:15:9
|
|
|
|
|
|
|
|
|
15 | pub use foo as foo2;
|
|
|
|
| ^^^^^^^^^^^ re-export of private `foo`
|
|
|
|
|
|
|
|
|
= note: consider declaring type or module `foo` with `pub`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0365"
|