summaryrefslogtreecommitdiffstats
path: root/src/test/ui/transmutability/visibility/should_accept_if_src_has_unreachable_ty.stderr
blob: e961984e189322ec4026609ed46276507682695c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0603]: struct `Src` is private
  --> $DIR/should_accept_if_src_has_unreachable_ty.rs:38:36
   |
LL |     assert::is_transmutable::<src::Src, dst::Dst, Context>();
   |                                    ^^^ private struct
   |
note: the struct `Src` is defined here
  --> $DIR/should_accept_if_src_has_unreachable_ty.rs:23:16
   |
LL |     #[repr(C)] pub(self) struct Src {
   |                ^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

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