fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0445]: private trait `Private<<Self as Public>::P, <Self as Public>::R>` in public interface 2 --> $DIR/issue-18389.rs:7:1 3 | 4LL | trait Private<P, R> { 5 | - `Private<<Self as Public>::P, <Self as Public>::R>` declared as private 6... 7LL | / pub trait Public: Private< 8LL | | 9LL | | <Self as Public>::P, 10LL | | <Self as Public>::R 11... | 12LL | | fn call_inner(&self); 13LL | | } 14 | |_^ can't leak private trait 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0445`.