]> git.proxmox.com Git - rustc.git/blob - src/test/ui/privacy/privacy-ns1.stderr
Update upstream source from tag 'upstream/1.30.0_beta.7+dfsg1'
[rustc.git] / src / test / ui / privacy / privacy-ns1.stderr
1 error[E0423]: expected function, found trait `Bar`
2 --> $DIR/privacy-ns1.rs:30:5
3 |
4 LL | Bar(); //~ ERROR expected function, found trait `Bar`
5 | ^^^ did you mean `Baz`?
6 help: possible better candidates are found in other modules, you can import them into scope
7 |
8 LL | use foo1::Bar;
9 |
10 LL | use foo2::Bar;
11 |
12 LL | use foo3::Bar;
13 |
14
15 error[E0573]: expected type, found function `Bar`
16 --> $DIR/privacy-ns1.rs:45:17
17 |
18 LL | let _x: Box<Bar>; //~ ERROR expected type, found function `Bar`
19 | ^^^ did you mean `Baz`?
20 help: possible better candidates are found in other modules, you can import them into scope
21 |
22 LL | use foo1::Bar;
23 |
24 LL | use foo2::Bar;
25 |
26 LL | use foo3::Bar;
27 |
28
29 error[E0425]: cannot find function `Bar` in this scope
30 --> $DIR/privacy-ns1.rs:60:5
31 |
32 LL | Bar(); //~ ERROR cannot find function `Bar` in this scope
33 | ^^^ did you mean `Baz`?
34 help: possible candidates are found in other modules, you can import them into scope
35 |
36 LL | use foo1::Bar;
37 |
38 LL | use foo2::Bar;
39 |
40 LL | use foo3::Bar;
41 |
42
43 error[E0412]: cannot find type `Bar` in this scope
44 --> $DIR/privacy-ns1.rs:61:17
45 |
46 LL | let _x: Box<Bar>; //~ ERROR cannot find type `Bar` in this scope
47 | ^^^ did you mean `Baz`?
48 help: possible candidates are found in other modules, you can import them into scope
49 |
50 LL | use foo1::Bar;
51 |
52 LL | use foo2::Bar;
53 |
54 LL | use foo3::Bar;
55 |
56
57 error: aborting due to 4 previous errors
58
59 Some errors occurred: E0412, E0423, E0425, E0573.
60 For more information about an error, try `rustc --explain E0412`.