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

error: aborting due to 1 previous error

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