Closed
Description
From: src/test/compile-fail/E0365.rs
E0365 needs a span_label and a span_note changed to a note, updating it from:
error[E0365]: `foo` is private, and cannot be reexported
--> src/test/compile-fail/E0365.rs:15:9
|
15 | pub use foo as foo2; //~ ERROR E0365
| ^^^^^^^^^^^
|
note: consider declaring type or module `foo` with `pub`
--> src/test/compile-fail/E0365.rs:15:9
|
15 | pub use foo as foo2; //~ ERROR E0365
| ^^^^^^^^^^^
To:
error[E0365]: `foo` is private, and cannot be reexported
--> src/test/compile-fail/E0365.rs:15:9
|
15 | pub use foo as foo2; //~ ERROR E0365
| ^^^^^^^^^^^ reexport of private `foo`
|
= note: consider declaring type or module `foo` with `pub`