about summary refs log tree commit diff
path: root/compiler/rustc_transmute
AgeCommit message (Expand)AuthorLines
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-07-15Use dep: for crate dependenciesMichael Goulet-7/+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-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-03-08bump itertools to 0.12klensy-1/+1
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-7/+9
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-11-22Update itertools to 0.11.Nicholas Nethercote-1/+1
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-5/+7
2023-10-18Use v0.0.0 in compiler cratesMichael Goulet-1/+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