summaryrefslogtreecommitdiffstats
path: root/src/test/ui/transmutability/visibility/should_accept_if_src_has_unreachable_ty.stderr
blob: 76dc7f3407555c0a0513200ca6c371120fe30ef2 (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:37: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:22:16
   |
LL |     #[repr(C)] pub(self) struct Src {
   |                ^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

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