2020-08-27 21:55:22 +00:00
|
|
|
error[E0118]: no nominal type found for inherent implementation
|
2023-02-11 23:17:38 +00:00
|
|
|
--> $DIR/private-in-public-ill-formed.rs:14:5
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | impl <Priv as PrivTr>::AssocAlias {
|
2023-02-11 23:17:38 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl requires a nominal type
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
= note: either implement a trait on it or create a newtype to wrap it instead
|
|
|
|
|
2020-08-27 21:55:22 +00:00
|
|
|
error[E0118]: no nominal type found for inherent implementation
|
2023-02-11 23:17:38 +00:00
|
|
|
--> $DIR/private-in-public-ill-formed.rs:31:5
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | impl <Priv as PrivTr>::AssocAlias {
|
2023-02-11 23:17:38 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl requires a nominal type
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
= note: either implement a trait on it or create a newtype to wrap it instead
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0118`.
|