rust/src/test/ui/privacy/privacy2.stderr

19 lines
469 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0432]: unresolved import `bar::foo`
2018-12-25 15:56:47 +00:00
--> $DIR/privacy2.rs:17:9
2018-08-08 12:28:26 +00:00
|
LL | use bar::foo;
| ^^^^^^^^ no `foo` in `bar`
error[E0603]: function `foo` is private
2018-12-25 15:56:47 +00:00
--> $DIR/privacy2.rs:23:20
2018-08-08 12:28:26 +00:00
|
LL | use bar::glob::foo;
| ^^^
2018-08-08 12:28:26 +00:00
error: requires `sized` lang_item
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0432, E0603.
2018-08-08 12:28:26 +00:00
For more information about an error, try `rustc --explain E0432`.