about summary refs log tree commit diff
path: root/compiler/rustc_transmute/src
AgeCommit message (Expand)AuthorLines
2025-03-18Add `#[cfg(test)]` for Transition in dfamu001999-0/+3
2025-03-12Auto merge of #138414 - matthiaskrgr:rollup-9ablqdb, r=matthiaskrgrbors-1/+0
2025-03-11Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-0/+1
2025-03-08Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-07Increase recursion_limit in numerous crates.Nicholas Nethercote-0/+1
2025-02-28Remove `allow(dead_code)` attributes.Nicholas Nethercote-15/+1
2025-02-28Remove `allow(unused_variables)` for `rustc_transmute`.Nicholas Nethercote-25/+12
2025-02-28Remove unused feature from `rustc_transmute`.Nicholas Nethercote-1/+0
2025-02-28Remove unnecessary `allow(unused)` attribute.Nicholas Nethercote-1/+0
2025-02-28Remove `rustc_transmute`'s dependence on `rustc_macros`.Nicholas Nethercote-2/+1
2025-02-28Remove `rustc_transmute`'s dependence on `rustc_infer`.Nicholas Nethercote-7/+6
2025-02-08transmutability: fix ICE when passing wrong ADT to ASSUMELukas Markeffsky-18/+14
2025-01-30introduce `ty::Value`Lukas Markeffsky-4/+4
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-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-12-01fix safe-transmute handling of enumsRalf Jung-30/+27
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-2/+2
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-6/+6
2024-10-19Fix transmute goalMichael Goulet-6/+1
2024-10-19Get rid of const eval_* and try_eval_* helpersMichael Goulet-2/+1
2024-10-04Fix some pub(crate) that were undetected bc of instrumentMichael Goulet-1/+1
2024-10-01TransmuteFrom: Gracefully handle unnormalized types and normalization errorsJack Wrenn-2/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-09-16layout computation: eagerly error for unexpected unsized fieldsLukas Markeffsky-9/+9
2024-09-16make `LayoutCx` not genericLukas Markeffsky-10/+10
2024-09-14Correctly account for niche-optimized tagsBen Kimock-10/+25
2024-09-05update cfgsBoxy-2/+0
2024-09-03Auto merge of #129777 - nnethercote:unreachable_pub-4, r=Urgaubors-4/+5
2024-09-03Add `warn(unreachable_pub)` to `rustc_transmute`.Nicholas Nethercote-4/+5
2024-09-02chore: Fix typos in 'compiler' (batch 3)Alexander Cyon-1/+1
2024-08-25Removes dead code from the compilermu001999-5/+1
2024-08-21safe transmute: gracefully bubble-up layout errorsJack Wrenn-21/+10
2024-08-18safe transmute: forbid reference lifetime extensionJack Wrenn-59/+104
2024-08-10Update std and compilerNadrieril-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-45/+31
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-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-1/+3
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-1/+1
2024-06-05Add `Ty` to `ConstKind::Value`Boxy-3/+2
2024-06-05Basic removal of `Ty` from places (boring)Boxy-1/+2
2024-05-01Align: add bytes_usize and bits_usizeRalf Jung-1/+1
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-3/+3
2024-04-19ScalarInt: add methods to assert being a (u)int of given sizeRalf Jung-1/+1