about summary refs log tree commit diff
path: root/compiler/rustc_transmute/src
AgeCommit message (Expand)AuthorLines
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
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-28/+33
2023-04-09Some simple `clippy::perf` fixesNilstrieb-1/+1
2023-03-02rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov-3/+1
2023-02-22Remove type-traversal trait aliasesAlan Egerton-1/+1
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-2/+3
2023-01-18Also remove `#![feature(control_flow_enum)]` where possibleScott McMurray-1/+1
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-1/+1
2022-12-19Rollup merge of #105864 - matthiaskrgr:compl, r=NilstriebDylan DPC-5/+1
2022-12-19clippy::complexity fixesMatthias Krüger-5/+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-04Rollup merge of #103915 - chenyukang:yukang/fix-103874, r=lcnrMatthias Krüger-1/+1
2022-11-03change error_reported to use Result instead of an optionyukang-1/+1
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-10-07Remove TypeckResults from InferCtxtCameron Steffen-2/+2
2022-10-03check if const is ADT or notTakayuki Maeda-5/+10
2022-09-20rustc_transmute: fix big-endian discriminantsJosh Stone-6/+16
2022-09-04Auto merge of #100726 - jswrenn:transmute, r=oli-obkbors-16/+59
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-11/+11
2022-08-31safe transmute: use `to_valtree` to destructure const `Assume`Jack Wrenn-7/+4
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-08-26Rollup merge of #100604 - dtolnay:okorerr, r=m-ou-seYuki Okushi-16/+11
2022-08-23safe transmute: use `FxIndex{Map,Set}` instead of `FxHash{Map,Set}`Jack Wrenn-12/+1
2022-08-22safe transmute: use `Assume` struct to provide analysis optionsJack Wrenn-4/+61
2022-08-21ADD - diagnostic lints to rustc_transmuteJhonny Bill Mena-0/+2
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-14/+8
2022-08-02safe transmute: fix broken intradoc linkJack Wrenn-2/+2