summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/interpret/error.rs
AgeCommit message (Expand)AuthorLines
2022-04-07interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internalRalf Jung-5/+9
2022-03-16rustc_error: make ErrorReported impossible to constructmark-2/+2
2022-03-15Support other types of pluralization in pluralize macroest31-1/+1
2022-03-10adjust offset_from logic: check that both pointers are in-boundsRalf Jung-0/+6
2022-03-03Auto merge of #94512 - RalfJung:sdiv-ub, r=oli-obkbors-0/+6
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-10/+10
2022-03-01Miri/CTFE: properly treat overflow in (signed) division/rem as UBRalf Jung-0/+6
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-1/+4
2022-02-20Implement LowerHex on Scalar to clean up their display in rustdocGuillaume Gomez-1/+1
2021-12-20better name for AdjustForForeignAbiError error variant in InterpErrorRalf Jung-4/+5
2021-12-20CTFE eval_fn_call: use FnAbi to determine argument skipping and compatibilityRalf Jung-1/+5
2021-12-15Remove `in_band_lifetimes` from `rustc_middle`Aaron Hill-1/+1
2021-12-01remove static_assert_size on InterpErrorb-naber-3/+0
2021-12-01implement version of normalize_erasing_regions that doesn't assume value is n...b-naber-1/+1
2021-11-06use matches!() macro in more placesMatthias Krüger-5/+5
2021-10-14add dedicated error variant for writing the discriminant of an uninhabited en...Ralf Jung-0/+5
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-07-31typoRalf Jung-1/+1
2021-07-31CTFE: throw unsupported error when partially overwriting a pointerRalf Jung-2/+8
2021-07-24get rid of NoMirFor error variantRalf Jung-3/+0
2021-07-18miri: better ptr-out-of-bounds errorsRalf Jung-14/+16
2021-07-15tweak pointer out-of-bounds error messageRalf Jung-5/+15
2021-07-14remove unused error variantRalf Jung-3/+0
2021-07-14more precise message for the ptr access check on derefRalf Jung-0/+3
2021-07-14CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion inf...Ralf Jung-10/+12
2021-06-30Simplify memory failure checkingSmitty-6/+0
2021-06-30Rename is_spurious -> is_volatileSmitty-1/+1
2021-06-29Properly handle const prop failuresSmitty-0/+6
2021-06-29Make memory exhaustion a hard errorSmitty-1/+2
2021-06-29Support allocation failures when interperting MIRSmitty-0/+5
2021-06-18make UB during CTFE a hard errorRalf Jung-0/+1
2021-06-17Rollup merge of #86340 - Smittyvb:ctfe-hard-error-message, r=RalfJungYuki Okushi-0/+10
2021-06-16Move some hard error logic to InterpErrorSmitty-0/+10
2021-06-14Improve documentation on `UndefinedBehaviorInfo::ValidationFailure`Rémy Rakic-0/+2
2021-06-13Improve CTFE validation error messageRémy Rakic-4/+10
2021-06-13Turn incorrect vtable size/alignment errors into hard const-UB errorsRémy Rakic-2/+10
2021-05-30Emit a hard error when a panic occurs during const-evalAaron Hill-2/+6
2021-05-18CTFE core engine allocation & memory API improvemenetsRalf Jung-7/+7
2021-05-07fix null pointer error messagesRalf Jung-8/+11
2021-05-06use CheckInAllocMsg::PointerArithmeticTest for ptr_offset errorRalf Jung-0/+3
2021-05-04Remove `rustc_middle::mir::interpret::CheckInAllocMsg::NullPointerTest`hyd-dev-5/+0
2021-05-02Change 'NULL' to 'null'Brent Kerby-2/+2
2021-04-19fix few typosklensy-1/+1
2021-04-08Fix outdated crate names in compiler docspierwill-1/+1
2021-03-06Change x64 size checks to not apply to x32.Harald van Dijk-2/+2
2021-02-20all InterpError allocate now, so adjust alloc-error-checkRalf Jung-13/+8
2021-02-17Reduce size of InterpErrorInfo to 8 bytesTomasz Miąsko-6/+22
2021-01-21mir: Improve size_of handling when arg is unsizedÖmer Sinan Ağacan-0/+3
2020-11-16wordslcnr-1/+1
2020-11-04make intern_const_alloc_recursive return error fix #78655Vishnunarayan K I-3/+9