summaryrefslogtreecommitdiffstats
path: root/src/test/ui/privacy/private-in-public-ill-formed.stderr
blob: e7c94bc301bdf21e3ad68c90f9e0cf0a5e876ad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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`.