]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | error[E0603]: crate import `core` is private |
0731742a | 2 | --> $DIR/extern-crate-visibility.rs:6:10 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | use foo::core::cell; |
ba9703b0 | 5 | | ^^^^ private crate import |
dfeec247 XL |
6 | | |
7 | note: the crate import `core` is defined here | |
8 | --> $DIR/extern-crate-visibility.rs:2:5 | |
9 | | | |
10 | LL | extern crate core; | |
11 | | ^^^^^^^^^^^^^^^^^^ | |
b7449926 | 12 | |
dfeec247 | 13 | error[E0603]: crate import `core` is private |
0731742a | 14 | --> $DIR/extern-crate-visibility.rs:9:10 |
b7449926 | 15 | | |
532ac7d7 | 16 | LL | foo::core::cell::Cell::new(0); |
ba9703b0 | 17 | | ^^^^ private crate import |
dfeec247 XL |
18 | | |
19 | note: the crate import `core` is defined here | |
20 | --> $DIR/extern-crate-visibility.rs:2:5 | |
21 | | | |
22 | LL | extern crate core; | |
23 | | ^^^^^^^^^^^^^^^^^^ | |
b7449926 XL |
24 | |
25 | error: aborting due to 2 previous errors | |
26 | ||
27 | For more information about this error, try `rustc --explain E0603`. |