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