fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
742 B19 linesraw
1error[E0118]: no base type found for inherent implementation
2  --> $DIR/private-in-public-ill-formed.rs:14:10
3   |
4LL |     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
9error[E0118]: no base type found for inherent implementation
10  --> $DIR/private-in-public-ill-formed.rs:30:10
11   |
12LL |     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
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0118`.