rust/src/test/ui/transmutability/visibility
Jack Wrenn f46fffc276 safe transmute: use Assume struct to provide analysis options
This was left as a TODO in #92268, and brings the trait more in
line with what was defined in MCP411.

`Assume::visibility` has been renamed to `Assume::safety`, as
library safety is what's actually being assumed; visibility is
just the mechanism by which it is currently checked (this may
change).

ref: https://github.com/rust-lang/compiler-team/issues/411
ref: https://github.com/rust-lang/rust/issues/99571
2022-08-22 18:37:54 +00:00
..
assume safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_accept_if_src_has_private_field.rs safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_accept_if_src_has_private_variant.rs safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_accept_if_src_has_unreachable_field.rs safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_accept_if_src_has_unreachable_field.stderr safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_accept_if_src_has_unreachable_ty.rs safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_accept_if_src_has_unreachable_ty.stderr safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_reject_if_dst_has_private_field.rs safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_reject_if_dst_has_private_field.stderr safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_reject_if_dst_has_private_variant.rs safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_reject_if_dst_has_private_variant.stderr safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_reject_if_dst_has_tricky_unreachable_field.rs safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_reject_if_dst_has_unreachable_field.rs safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_reject_if_dst_has_unreachable_field.stderr safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_reject_if_dst_has_unreachable_ty.rs safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00
should_reject_if_dst_has_unreachable_ty.stderr safe transmute: use Assume struct to provide analysis options 2022-08-22 18:37:54 +00:00