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