2020-01-12 16:20:57 +03:00
|
|
|
error[E0603]: crate import `core` is private
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/extern-crate-visibility.rs:6:10
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | use foo::core::cell;
|
2020-01-12 16:20:57 +03:00
|
|
|
| ^^^^ this crate import is private
|
2020-01-12 16:04:03 +03:00
|
|
|
|
|
2020-01-12 16:20:57 +03:00
|
|
|
note: the crate import `core` is defined here
|
2020-01-12 16:04:03 +03:00
|
|
|
--> $DIR/extern-crate-visibility.rs:2:5
|
|
|
|
|
|
|
|
|
LL | extern crate core;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2020-01-12 16:20:57 +03:00
|
|
|
error[E0603]: crate import `core` is private
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/extern-crate-visibility.rs:9:10
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | foo::core::cell::Cell::new(0);
|
2020-01-12 16:20:57 +03:00
|
|
|
| ^^^^ this crate import is private
|
2020-01-12 16:04:03 +03:00
|
|
|
|
|
2020-01-12 16:20:57 +03:00
|
|
|
note: the crate import `core` is defined here
|
2020-01-12 16:04:03 +03:00
|
|
|
--> $DIR/extern-crate-visibility.rs:2:5
|
|
|
|
|
|
|
|
|
LL | extern crate core;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|