1 error[E0603]: extern crate `core` is private
2 --> $DIR/extern-crate-visibility.rs:16:5
4 LL | use foo::core::cell; //~ ERROR extern crate `core` is private
7 error[E0603]: extern crate `core` is private
8 --> $DIR/extern-crate-visibility.rs:19:5
10 LL | foo::core::cell::Cell::new(0); //~ ERROR extern crate `core` is private
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0603`.