rust/tests/ui/transmutability
Jack Wrenn 216df4a8e6 safe transmute: require that src referent is smaller than dst
The source referent absolutely must be smaller than the destination
referent of a ref-to-ref transmute; the excess bytes referenced
cannot arise from thin air, even if those bytes are uninitialized.
2024-03-13 15:53:48 +00:00
..
abstraction safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
alignment safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
arrays safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
enums safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
malformed-program-gracefulness safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
primitives Remove some unnecessary allow(incomplete_features) 2024-03-11 19:42:04 +00:00
references safe transmute: require that src referent is smaller than dst 2024-03-13 15:53:48 +00:00
safety safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
structs safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
unions Remove some unnecessary allow(incomplete_features) 2024-03-11 19:42:04 +00:00
issue-101739-1.rs safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
issue-101739-1.stderr safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
issue-101739-2.rs safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
issue-101739-2.stderr safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
issue-110467.rs safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
issue-110892.rs safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
issue-110892.stderr safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
region-infer.rs safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
region-infer.stderr safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
transmute-padding-ice.rs safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00
transmute-padding-ice.stderr safe transmute: revise safety analysis 2024-02-27 16:22:32 +00:00