1 error[E0118]: no base type found for inherent implementation
2 --> $DIR/private-in-public-ill-formed.rs:14:10
4 LL | impl <Priv as PrivTr>::AssocAlias {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl requires a base type
7 = note: either implement a trait on it or create a newtype to wrap it instead
9 error[E0118]: no base type found for inherent implementation
10 --> $DIR/private-in-public-ill-formed.rs:30:10
12 LL | impl <Priv as PrivTr>::AssocAlias {
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl requires a base type
15 = note: either implement a trait on it or create a newtype to wrap it instead
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0118`.