rust/tests/ui/extern/extern-crate-visibility.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
752 B
Plaintext
Raw Normal View History

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