]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18389.stderr
Auto merge of #53190 - sekineh:thumb-cortex-m, r=jamesmunns
[rust.git] / src / test / ui / issues / issue-18389.stderr
1 error[E0445]: private trait `Private<<Self as Public>::P, <Self as Public>::R>` in public interface
2   --> $DIR/issue-18389.rs:17:1
3    |
4 LL | / pub trait Public: Private<
5 LL | | //~^ ERROR private trait `Private<<Self as Public>::P, <Self as Public>::R>` in public interface
6 LL | |     <Self as Public>::P,
7 LL | |     <Self as Public>::R
8 ...  |
9 LL | |     fn call_inner(&self);
10 LL | | }
11    | |_^ can't leak private trait
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0445`.