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