1 error[E0603]: crate import `core` is private
2 --> $DIR/extern-crate-visibility.rs:6:10
4 LL | use foo::core::cell;
5 | ^^^^ private crate import
7 note: the crate import `core` is defined here
8 --> $DIR/extern-crate-visibility.rs:2:5
10 LL | extern crate core;
13 error[E0603]: crate import `core` is private
14 --> $DIR/extern-crate-visibility.rs:9:10
16 LL | foo::core::cell::Cell::new(0);
17 | ^^^^ private crate import
19 note: the crate import `core` is defined here
20 --> $DIR/extern-crate-visibility.rs:2:5
22 LL | extern crate core;
25 error: aborting due to 2 previous errors
27 For more information about this error, try `rustc --explain E0603`.