fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0118]: no nominal type found for inherent implementation 2 --> $DIR/private-in-public-ill-formed.rs:14:5 3 | 4LL | impl <Priv as PrivTr>::AssocAlias { 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl requires a nominal type 6 | 7 = note: either implement a trait on it or create a newtype to wrap it instead 8 9error[E0118]: no nominal type found for inherent implementation 10 --> $DIR/private-in-public-ill-formed.rs:31:5 11 | 12LL | impl <Priv as PrivTr>::AssocAlias { 13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl requires a nominal type 14 | 15 = note: either implement a trait on it or create a newtype to wrap it instead 16 17error: aborting due to 2 previous errors 18 19For more information about this error, try `rustc --explain E0118`.