about summary refs log tree commit diff
path: root/compiler/rustc_transmute/src
AgeCommit message (Expand)AuthorLines
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
2024-04-08Rollup merge of #123367 - jswrenn:layoutify, r=compiler-errorsMatthias Krüger-247/+230
2024-04-08Compute transmutability from `rustc_target::abi::Layout`Jack Wrenn-247/+230
2024-03-27Remove unnecessary `Partial/Ord` deriveOli Scherer-1/+1
2024-03-22Rollup merge of #122784 - jswrenn:tag_for_variant, r=compiler-errorsMatthias Krüger-25/+19
2024-03-22Add `tag_for_variant` queryJack Wrenn-25/+19
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-1/+2
2024-03-15Safe Transmute: Use 'not yet supported', not 'unspecified' in errorsJack Wrenn-13/+13
2024-03-13safe transmute: require that src referent is smaller than dstJack Wrenn-3/+39
2024-02-27safe transmute: revise safety analysisJack Wrenn-109/+168
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
2024-01-25Remove unused featuresclubby789-1/+2
2024-01-09Fix an ICE that occurs after an error has already been reportedOli Scherer-0/+1
2023-10-06Remove the `MaybeTransmutableQuery<&'l Dfa<...>, C>` impl.Nicholas Nethercote-16/+0
2023-10-06Fix a comment.Nicholas Nethercote-3/+1
2023-10-06Remove `map_layouts`.Nicholas Nethercote-57/+33
2023-10-06Make the comment order match variant declaration order.Nicholas Nethercote-1/+1
2023-10-06Remove an unnecessary `pub(crate)`.Nicholas Nethercote-1/+1
2023-09-13make the eval() functions on our const types return the resulting valueRalf Jung-7/+4
2023-09-06Fix error report for size overflow from transmuteyukang-0/+9
2023-07-27Don't attempt to compute layout of type referencing errorMichael Goulet-1/+1
2023-07-18Auto merge of #113677 - bryangarza:unevaluated-const-ice_issue-110892, r=davi...bors-1/+12
2023-07-17Safe Transmute: Fix ICE (due to UnevaluatedConst)Bryan Garza-1/+12
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-89/+99
2023-05-24Safe Transmute: Update definition of Condition typeBryan Garza-14/+17
2023-05-24Safe Transmute: Check mutability before creating dst -> src obligationBryan Garza-7/+32
2023-05-24Safe Transmute: Fix propagation of errorsBryan Garza-15/+30
2023-05-24Safe Transmute: Change Answer type to ResultBryan Garza-117/+90
2023-05-24Safe Transmute: Enable handling references, including recursive typesBryan Garza-51/+178
2023-04-26Remove unused `TypeFoldable`/`TypeVisitable` impls.Nicholas Nethercote-2/+2
2023-04-16Erase regions when confirming transmutability candidateMichael Goulet-6/+3