about summary refs log tree commit diff
path: root/compiler/rustc_transmute/src/layout/tree.rs
AgeCommit message (Expand)AuthorLines
2025-09-28remove explicit deref of AbiAlign for most methodsJubilee Young-1/+1
2025-09-23Add an attribute to check the number of lanes in a SIMD vector after monomorp...Caleb Zulawski-0/+1
2025-09-09Driveby fixesBoxy-3/+1
2025-09-09erase_regions to erase_and_anonymize_regionsBoxy-19/+20
2025-07-07compiler: Parse `p-` specs in datalayout string, allow definition of custom d...Edoardo Marangoni-1/+1
2025-06-27tag_for_variant: properly pass TypingEnvRalf Jung-1/+3
2025-06-09transmutability: shift abstraction boundaryJack Wrenn-21/+27
2025-06-03Change `tag_field` to `FieldIdx` in `Variants::Multiple`Scott McMurray-1/+1
2025-04-25transmutability: Support char, NonZeroXxxJoshua Liebow-Feeser-23/+123
2025-04-23transmutability: Mark edges by ranges, not valuesJoshua Liebow-Feeser-4/+4
2025-04-21cleanup redundant pattern instancesJonathan Gruner-1/+1
2025-02-28Remove `allow(unused_variables)` for `rustc_transmute`.Nicholas Nethercote-8/+6
2025-01-27Add `TooGeneric` variant to `LayoutError` and emit `Unknown` oneFedericoBruzzone-0/+1
2024-12-18add comment explaining why ty_and_layout_field is not usedRalf Jung-1/+4
2024-12-18make no-variant types a dedicated Variants variantRalf Jung-8/+7
2024-12-18Variants::Single: do not use invalid VariantIdx for uninhabited enumsRalf Jung-6/+4
2024-12-01fix safe-transmute handling of enumsRalf Jung-30/+27
2024-10-28Rollup merge of #132255 - workingjubilee:layout-is-🏚️, r=compiler-errorsJubilee-3/+1
2024-10-28compiler: Add `is_uninhabited` and use LayoutS accessorsJubilee Young-3/+1
2024-10-27rustc_transmute: Directly use types from rustc_abiJubilee Young-5/+5
2024-10-01TransmuteFrom: Gracefully handle unnormalized types and normalization errorsJack Wrenn-2/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-16layout computation: eagerly error for unexpected unsized fieldsLukas Markeffsky-6/+6
2024-09-16make `LayoutCx` not genericLukas Markeffsky-8/+8
2024-09-14Correctly account for niche-optimized tagsBen Kimock-10/+25
2024-09-03Add `warn(unreachable_pub)` to `rustc_transmute`.Nicholas Nethercote-1/+1
2024-08-21safe transmute: gracefully bubble-up layout errorsJack Wrenn-11/+7
2024-08-18safe transmute: forbid reference lifetime extensionJack Wrenn-53/+88
2024-07-29Reformat `use` declarations.Nicholas Nethercote-16/+7
2024-06-14safe transmute: support non-ZST, variantful, uninhabited enumsJack Wrenn-22/+14
2024-06-13safe transmute: support `Variants::Single` enumsJack Wrenn-21/+54
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-1/+1
2024-05-01Align: add bytes_usize and bits_usizeRalf Jung-1/+1
2024-04-19ScalarInt: add methods to assert being a (u)int of given sizeRalf Jung-1/+1
2024-04-08Compute transmutability from `rustc_target::abi::Layout`Jack Wrenn-234/+207
2024-03-22Add `tag_for_variant` queryJack Wrenn-25/+19
2024-03-15Safe Transmute: Use 'not yet supported', not 'unspecified' in errorsJack Wrenn-7/+7
2024-03-13safe transmute: require that src referent is smaller than dstJack Wrenn-1/+4
2024-02-27safe transmute: revise safety analysisJack Wrenn-2/+3
2024-01-09Fix an ICE that occurs after an error has already been reportedOli Scherer-0/+1
2023-09-06Fix error report for size overflow from transmuteyukang-0/+3
2023-07-27Don't attempt to compute layout of type referencing errorMichael Goulet-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-7/+7
2023-07-01Put `LayoutError` behind reference to shrink resultNilstrieb-4/+4
2023-06-12Safe Transmute: Refactor error handling and Answer typeBryan Garza-2/+2
2023-05-24Safe Transmute: Enable handling references, including recursive typesBryan Garza-0/+11
2023-04-16more clippy fixes: clippy::{iter_cloned_collect, unwarp_or_else_default, opti...Matthias Krüger-1/+1
2023-04-13Improve safe transmute error reportingBryan Garza-12/+16
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-2/+3
2022-11-05Auto merge of #103831 - chenyukang:yukang/fix-103751-ice, r=nagisabors-2/+2