summary refs log tree commit diff
path: root/compiler/rustc_transmute/src/layout
AgeCommit message (Expand)AuthorLines
2024-10-01TransmuteFrom: Gracefully handle unnormalized types and normalization errorsJack Wrenn-2/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-16layout computation: eagerly error for unexpected unsized fieldsLukas Markeffsky-8/+8
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-03Add `warn(unreachable_pub)` to `rustc_transmute`.Nicholas Nethercote-2/+2
2024-08-21safe transmute: gracefully bubble-up layout errorsJack Wrenn-11/+7
2024-08-18safe transmute: forbid reference lifetime extensionJack Wrenn-54/+100
2024-08-10Update std and compilerNadrieril-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-21/+16
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-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-0/+1
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-234/+210
2024-04-08Compute transmutability from `rustc_target::abi::Layout`Jack Wrenn-234/+210
2024-03-27Remove unnecessary `Partial/Ord` deriveOli Scherer-1/+1
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/+25
2024-02-27safe transmute: revise safety analysisJack Wrenn-27/+67
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: Check mutability before creating dst -> src obligationBryan Garza-6/+9
2023-05-24Safe Transmute: Enable handling references, including recursive typesBryan Garza-12/+36
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
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-1/+1
2022-12-18don't clone Copy typesMatthias Krüger-2/+2
2022-11-05Auto merge of #103831 - chenyukang:yukang/fix-103751-ice, r=nagisabors-2/+2
2022-11-01fix #103751: Fix capacity overflow issue during transmutability checkyukang-2/+2
2022-10-30fix #103783, fix ICE checking transmutability of NaughtyLenArrayyukang-1/+2
2022-09-20rustc_transmute: fix big-endian discriminantsJosh Stone-6/+16
2022-09-04Auto merge of #100726 - jswrenn:transmute, r=oli-obkbors-7/+0
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-8/+8
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-08-23safe transmute: use `FxIndex{Map,Set}` instead of `FxHash{Map,Set}`Jack Wrenn-7/+0
2022-08-17Replace a try_fold in rustc_transmute to use ControlFlow instead of ResultDavid Tolnay-3/+4
2022-08-17Remove unstable Result::into_ok_or_errDavid Tolnay-6/+7
2022-08-02safe transmute: fix broken intradoc linkJack Wrenn-2/+2
2022-07-28safe transmute: use `AtomicU32` `State` ids to appease mipsJack Wrenn-6/+6
2022-07-27safe transmute: lowercase tracing levelsJack Wrenn-1/+1