2018-08-08 14:28:26 +02:00
|
|
|
error[E0432]: unresolved import `bar::gpriv`
|
2025-01-30 04:23:14 +00:00
|
|
|
--> $DIR/privacy3.rs:23:9
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
|
LL | use bar::gpriv;
|
|
|
|
|
| ^^^^^^^^^^ no `gpriv` in `bar`
|
|
|
|
|
|
|
|
|
|
error: requires `sized` lang_item
|
2025-01-30 04:23:14 +00:00
|
|
|
--> $DIR/privacy3.rs:18:14
|
|
|
|
|
|
|
|
|
|
|
LL | pub fn foo() {}
|
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
|
error: requires `sized` lang_item
|
|
|
|
|
--> $DIR/privacy3.rs:21:12
|
|
|
|
|
|
|
|
|
|
|
LL | fn test1() {
|
|
|
|
|
| ____________^
|
|
|
|
|
LL | |
|
|
|
|
|
LL | | use bar::gpriv;
|
|
|
|
|
... |
|
|
|
|
|
LL | | gpriv();
|
|
|
|
|
LL | | }
|
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
|
error: requires `sized` lang_item
|
|
|
|
|
--> $DIR/privacy3.rs:32:11
|
|
|
|
|
|
|
|
|
|
|
LL | fn main() {}
|
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
|
error: requires `sized` lang_item
|
|
|
|
|
--> $DIR/privacy3.rs:13:20
|
|
|
|
|
|
|
|
|
|
|
LL | fn gpriv() {}
|
|
|
|
|
| ^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2025-01-30 04:23:14 +00:00
|
|
|
error: aborting due to 5 previous errors
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0432`.
|