about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/cast.rs
AgeCommit message (Expand)AuthorLines
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-01Avoid the path trimming ICE lint in error reportingBen Kimock-8/+4
2023-10-20Adjust importsMichael Goulet-3/+3
2023-10-09float-to-float casts also have non-deterministic NaN resultsRalf Jung-2/+21
2023-09-21Auto merge of #116010 - RalfJung:more-typed-immediates, r=oli-obkbors-53/+56
2023-09-21try to avoid some layout_of callsRalf Jung-34/+33
2023-09-20interpret: less debug-printing of typesRalf Jung-9/+9
2023-09-20interpret: more consistently use ImmTy in operators and castsRalf Jung-24/+28
2023-09-19adjust constValue::Slice to work for arbitrary slice typesRalf Jung-2/+3
2023-09-14make it more clear which functions create fresh AllocIdRalf Jung-2/+2
2023-08-29const_eval and codegen: audit uses of is_zstRalf Jung-8/+12
2023-07-25interpret: make read functions generic over operand typeRalf Jung-1/+1
2023-07-25interpret: refactor projection code to work on a common trait, and use that f...Ralf Jung-2/+2
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-4/+4
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-14/+15
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-7/+13
2023-03-22Add `CastKind::Transmute` to MIRScott McMurray-0/+16
2023-03-05Do not ICE when casting polymorphic values.Camille GILLOT-13/+22
2023-02-20basic dyn* support for MiriRalf Jung-2/+9
2023-02-15Use target instead of machine for mir interpreter integer handling.Oli Scherer-1/+1
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-2/+5
2023-02-07Rename PointerSized to PointerLikeMichael Goulet-1/+1
2023-01-17`rustc_const_eval`: remove `ref` patterns (+some pattern matching imps)Maybe Waffle-1/+1
2022-12-18don't restuct references just to reborrowMatthias Krüger-1/+1
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-10-26Rollup merge of #103546 - RalfJung:cast, r=oli-obkDylan DPC-31/+30
2022-10-25interpret: a bit of cast cleanupRalf Jung-31/+30
2022-10-25Use &self instead of &mut self for cast methodsJannis Christopher Köhl-4/+4
2022-10-23remove misc_cast and validate typesouz-a-20/+43
2022-10-06Remove `mir::CastKind::Misc`ouz-a-2/+2
2022-09-13Address code review commentsEric Holk-6/+5
2022-09-12Rename some variantsMichael Goulet-1/+1
2022-09-12Construct dyn* during const interpMichael Goulet-1/+12
2022-09-12dyn* through more typechecking and MIREric Holk-0/+4
2022-09-12Plumb dyn trait representation through ty::DynamicEric Holk-1/+1
2022-08-26make read_immediate error immediately on uninit, so ImmTy can carry initializ...Ralf Jung-9/+9
2022-08-06make NOP dyn casts not require anything about the vtableRalf Jung-1/+6
2022-07-23now we can make scalar_to_ptr a method on ScalarRalf Jung-2/+2
2022-07-20detect bad vtables on an upcastRalf Jung-2/+5
2022-07-20incorporate some review feedbackRalf Jung-24/+3
2022-07-20make use of symbolic vtables in interpreterRalf Jung-14/+20
2022-07-19interpret: rename Tag/PointerTag to Prov/ProvenanceRalf Jung-16/+16
2022-07-06deduplicate some copy_op codeRalf Jung-1/+1
2022-07-06interpret: remove LocalValue::Unallocated, add Operand::UninitRalf Jung-1/+2
2022-07-05Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJungbors-23/+2
2022-07-02Auto merge of #91743 - cjgillot:enable_mir_inlining_inline_all, r=oli-obkbors-1/+2
2022-07-01interpret: make a comment less scaryRalf Jung-1/+1
2022-06-30Recover when failing to normalize closure signature.Camille GILLOT-1/+2
2022-06-30Change enum->int casts to not go through MIR casts.Oli Scherer-23/+2
2022-06-26fix box with custom allocator in miriDrMeepster-16/+0