about summary refs log tree commit diff
path: root/tests/ui/privacy/privacy3.stderr
blob: 06a287d35ea4b055633934007e32e1f175c168b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
error[E0432]: unresolved import `bar::gpriv`
  --> $DIR/privacy3.rs:23:9
   |
LL |     use bar::gpriv;
   |         ^^^^^^^^^^ no `gpriv` in `bar`

error: requires `sized` lang_item
  --> $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() {}
   |                    ^^

error: aborting due to 5 previous errors

For more information about this error, try `rustc --explain E0432`.