rust/src/test/ui/error-codes/E0365.stderr
2018-12-25 21:08:33 -07:00

11 lines
340 B
Text

error[E0365]: `foo` is private, and cannot be re-exported
--> $DIR/E0365.rs:5:9
|
LL | 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
For more information about this error, try `rustc --explain E0365`.