summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-inherent-types/assoc-inherent-private.stderr
blob: d67b45dae3fbe9881a4e8804c38371e58f36f3ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0624]: associated type `P` is private
  --> $DIR/assoc-inherent-private.rs:10:10
   |
LL |         type P = ();
   |         ------ associated type defined here
...
LL | type U = m::T::P;
   |          ^^^^^^^ private associated type

error[E0624]: associated type `P` is private
  --> $DIR/assoc-inherent-private.rs:21:10
   |
LL |             pub(super) type P = bool;
   |             ----------------- associated type defined here
...
LL | type V = n::n::T::P;
   |          ^^^^^^^^^^ private associated type

error: aborting due to 2 previous errors

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