1 error: type `m::Priv` is private
2 --> $DIR/private-type-in-interface.rs:25:9
4 LL | fn f(_: m::Alias) {} //~ ERROR type `m::Priv` is private
7 error: type `m::Priv` is private
8 --> $DIR/private-type-in-interface.rs:25:6
10 LL | fn f(_: m::Alias) {} //~ ERROR type `m::Priv` is private
13 error: type `ext::Priv` is private
14 --> $DIR/private-type-in-interface.rs:27:13
16 LL | fn f_ext(_: ext::Alias) {} //~ ERROR type `ext::Priv` is private
19 error: type `ext::Priv` is private
20 --> $DIR/private-type-in-interface.rs:27:10
22 LL | fn f_ext(_: ext::Alias) {} //~ ERROR type `ext::Priv` is private
25 error: type `m::Priv` is private
26 --> $DIR/private-type-in-interface.rs:31:6
28 LL | impl m::Alias {} //~ ERROR type `m::Priv` is private
31 error: type `ext::Priv` is private
32 --> $DIR/private-type-in-interface.rs:32:14
34 LL | impl Tr1 for ext::Alias {} //~ ERROR type `ext::Priv` is private
37 error: type `m::Priv` is private
38 --> $DIR/private-type-in-interface.rs:33:10
40 LL | type A = <m::Alias as m::Trait>::X; //~ ERROR type `m::Priv` is private
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^
43 error: type `m::Priv` is private
44 --> $DIR/private-type-in-interface.rs:37:11
46 LL | fn g() -> impl Tr2<m::Alias> { 0 } //~ ERROR type `m::Priv` is private
49 error: type `m::Priv` is private
50 --> $DIR/private-type-in-interface.rs:37:16
52 LL | fn g() -> impl Tr2<m::Alias> { 0 } //~ ERROR type `m::Priv` is private
55 error: type `ext::Priv` is private
56 --> $DIR/private-type-in-interface.rs:39:15
58 LL | fn g_ext() -> impl Tr2<ext::Alias> { 0 } //~ ERROR type `ext::Priv` is private
59 | ^^^^^^^^^^^^^^^^^^^^
61 error: type `ext::Priv` is private
62 --> $DIR/private-type-in-interface.rs:39:20
64 LL | fn g_ext() -> impl Tr2<ext::Alias> { 0 } //~ ERROR type `ext::Priv` is private
67 error: aborting due to 11 previous errors