]> git.proxmox.com Git - rustc.git/blob - src/test/ui/privacy/privacy2.stderr
New upstream version 1.42.0+dfsg1
[rustc.git] / src / test / ui / privacy / privacy2.stderr
1 error[E0432]: unresolved import `bar::foo`
2 --> $DIR/privacy2.rs:17:9
3 |
4 LL | use bar::foo;
5 | ^^^^^^^^ no `foo` in `bar`
6
7 error[E0603]: function import `foo` is private
8 --> $DIR/privacy2.rs:23:20
9 |
10 LL | use bar::glob::foo;
11 | ^^^ this function import is private
12 |
13 note: the function import `foo` is defined here
14 --> $DIR/privacy2.rs:10:13
15 |
16 LL | use foo;
17 | ^^^
18
19 error: requires `sized` lang_item
20
21 error: aborting due to 3 previous errors
22
23 Some errors have detailed explanations: E0432, E0603.
24 For more information about an error, try `rustc --explain E0432`.