fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0603]: crate import `core` is private 2 --> $DIR/extern-crate-visibility.rs:6:10 3 | 4LL | use foo::core::cell; 5 | ^^^^ this crate import is private 6 | 7note: the crate import `core` is defined here 8 --> $DIR/extern-crate-visibility.rs:2:5 9 | 10LL | extern crate core; 11 | ^^^^^^^^^^^^^^^^^^ 12 13error[E0603]: crate import `core` is private 14 --> $DIR/extern-crate-visibility.rs:9:10 15 | 16LL | foo::core::cell::Cell::new(0); 17 | ^^^^ this crate import is private 18 | 19note: the crate import `core` is defined here 20 --> $DIR/extern-crate-visibility.rs:2:5 21 | 22LL | extern crate core; 23 | ^^^^^^^^^^^^^^^^^^ 24 25error: aborting due to 2 previous errors 26 27For more information about this error, try `rustc --explain E0603`.