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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_accept_if_src_has_private_field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_accept_if_src_has_private_variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_accept_if_src_has_unreachable_field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_accept_if_src_has_unreachable_field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_accept_if_src_has_unreachable_ty.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_accept_if_src_has_unreachable_ty.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_reject_if_dst_has_private_field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_reject_if_dst_has_private_field.stderr Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
should_reject_if_dst_has_private_variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_reject_if_dst_has_private_variant.stderr Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
should_reject_if_dst_has_tricky_unreachable_field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_reject_if_dst_has_unreachable_field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_reject_if_dst_has_unreachable_field.stderr Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
should_reject_if_dst_has_unreachable_ty.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
should_reject_if_dst_has_unreachable_ty.stderr Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00