2 pub use core as reexported_core; //~ ERROR `core` is private, and cannot be re-exported
3 //~^ WARN this was previously accepted
10 use foo1::core; //~ ERROR crate import `core` is private
17 pub use foo2::bar::core; //~ ERROR crate import `core` is private