Still more complexity, but this allows computing exact `NaiveLayout`s for null-optimized enums, and thus allows calls like `transmute::<Option<&T>, &U>()` to work in generic contexts. |
||
|---|---|---|
| .. | ||
| abi.rs | ||
| assoc.rs | ||
| common_traits.rs | ||
| consts.rs | ||
| errors.rs | ||
| implied_bounds.rs | ||
| instance.rs | ||
| layout.rs | ||
| layout_naive.rs | ||
| layout_sanity_check.rs | ||
| lib.rs | ||
| needs_drop.rs | ||
| opaque_types.rs | ||
| representability.rs | ||
| structural_match.rs | ||
| ty.rs | ||