rust/tests/ui/transmutability/visibility
Bryan Garza 36febe1f4d Improve safe transmute error reporting
This patch updates the error reporting when Safe Transmute is not
possible between 2 types by including the reason.

Also, fix some small bugs that occur when computing the `Answer` for
transmutability.
2023-04-13 21:57:08 +00:00
..
assume
should_accept_if_src_has_private_field.rs
should_accept_if_src_has_private_variant.rs
should_accept_if_src_has_unreachable_field.rs
should_accept_if_src_has_unreachable_field.stderr
should_accept_if_src_has_unreachable_ty.rs
should_accept_if_src_has_unreachable_ty.stderr
should_reject_if_dst_has_private_field.rs
should_reject_if_dst_has_private_field.stderr
should_reject_if_dst_has_private_variant.rs
should_reject_if_dst_has_private_variant.stderr
should_reject_if_dst_has_tricky_unreachable_field.rs
should_reject_if_dst_has_unreachable_field.rs
should_reject_if_dst_has_unreachable_field.stderr
should_reject_if_dst_has_unreachable_ty.rs
should_reject_if_dst_has_unreachable_ty.stderr