]> git.proxmox.com Git - rustc.git/blob - src/test/ui/privacy/private-type-in-interface.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / privacy / private-type-in-interface.stderr
1 error: type `Priv` is private
2 --> $DIR/private-type-in-interface.rs:15:9
3 |
4 LL | fn f(_: m::Alias) {}
5 | ^^^^^^^^ private type
6
7 error: type `Priv` is private
8 --> $DIR/private-type-in-interface.rs:15:6
9 |
10 LL | fn f(_: m::Alias) {}
11 | ^ private type
12
13 error: type `ext::Priv` is private
14 --> $DIR/private-type-in-interface.rs:17:13
15 |
16 LL | fn f_ext(_: ext::Alias) {}
17 | ^^^^^^^^^^ private type
18
19 error: type `ext::Priv` is private
20 --> $DIR/private-type-in-interface.rs:17:10
21 |
22 LL | fn f_ext(_: ext::Alias) {}
23 | ^ private type
24
25 error: type `Priv` is private
26 --> $DIR/private-type-in-interface.rs:21:6
27 |
28 LL | impl m::Alias {}
29 | ^^^^^^^^ private type
30
31 error: type `ext::Priv` is private
32 --> $DIR/private-type-in-interface.rs:22:14
33 |
34 LL | impl Tr1 for ext::Alias {}
35 | ^^^^^^^^^^ private type
36
37 error: type `Priv` is private
38 --> $DIR/private-type-in-interface.rs:23:10
39 |
40 LL | type A = <m::Alias as m::Trait>::X;
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^ private type
42
43 error: type `Priv` is private
44 --> $DIR/private-type-in-interface.rs:27:11
45 |
46 LL | fn g() -> impl Tr2<m::Alias> { 0 }
47 | ^^^^^^^^^^^^^^^^^^ private type
48
49 error: type `ext::Priv` is private
50 --> $DIR/private-type-in-interface.rs:28:15
51 |
52 LL | fn g_ext() -> impl Tr2<ext::Alias> { 0 }
53 | ^^^^^^^^^^^^^^^^^^^^ private type
54
55 error: aborting due to 9 previous errors
56