]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-18389.stderr
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / src / test / ui / issues / issue-18389.stderr
CommitLineData
8faf50e0 1error[E0445]: private trait `Private<<Self as Public>::P, <Self as Public>::R>` in public interface
0731742a 2 --> $DIR/issue-18389.rs:7:1
8faf50e0 3 |
0731742a 4LL | trait Private<P, R> {
29967ef6 5 | ------------------- `Private<<Self as Public>::P, <Self as Public>::R>` declared as private
0731742a 6...
8faf50e0 7LL | / pub trait Public: Private<
532ac7d7 8LL | |
8faf50e0
XL
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`.