summary refs log tree commit diff
path: root/src/test/ui/issue-18389.stderr
blob: 6f067301d042e7db3b06000ae2ae9796ed71c59d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0445]: private trait `Private<<Self as Public>::P, <Self as Public>::R>` in public interface
  --> $DIR/issue-18389.rs:17:1
   |
LL | / pub trait Public: Private<
LL | | //~^ ERROR private trait `Private<<Self as Public>::P, <Self as Public>::R>` in public interface
LL | |     <Self as Public>::P,
LL | |     <Self as Public>::R
...  |
LL | |     fn call_inner(&self);
LL | | }
   | |_^ can't leak private trait

error: aborting due to previous error

For more information about this error, try `rustc --explain E0445`.