mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
20 lines
754 B
Plaintext
20 lines
754 B
Plaintext
error[E0118]: no nominal type found for inherent implementation
|
|
--> $DIR/private-in-public-ill-formed.rs:14:10
|
|
|
|
|
LL | impl <Priv as PrivTr>::AssocAlias {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl requires a nominal type
|
|
|
|
|
= note: either implement a trait on it or create a newtype to wrap it instead
|
|
|
|
error[E0118]: no nominal type found for inherent implementation
|
|
--> $DIR/private-in-public-ill-formed.rs:31:10
|
|
|
|
|
LL | impl <Priv as PrivTr>::AssocAlias {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl requires a nominal type
|
|
|
|
|
= 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`.
|