summary refs log tree commit diff
path: root/src/librustc/mir/interpret/error.rs
AgeCommit message (Expand)AuthorLines
2020-03-08use static strings instead of tcxRalf Jung-5/+5
2020-03-08Fix typoRalf Jung-2/+2
2020-03-08fix some cases of unexpected exceptions leaving validationRalf Jung-5/+8
2020-03-08move error allocation test to error.rsRalf Jung-1/+17
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-1/+1
2020-02-15Change const eval to return `ConstValue`, instead of `Const` as the type insi...Ben Lewis-1/+2
2020-02-13improve comments:Ralf Jung-0/+1
2020-02-13small cleanup in ConstEvalErr::struct_genericRalf Jung-31/+40
2020-02-13move PanicInfo to mir moduleRalf Jung-57/+0
2020-02-13remove PanicInfo::Panic variant that MIR does not use or needRalf Jung-7/+2
2020-02-13remove Panic variant from InterpErrorRalf Jung-7/+15
2020-02-12Fix outdated doc comment.jumbatm-4/+3
2020-02-11Run RustFmtjumbatm-9/+8
2020-02-11Invert control in struct_lint_level.jumbatm-31/+50
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-2/+0
2020-01-16let rustfmt undo most of my edits :(Ralf Jung-2/+1
2020-01-16fix rustfmt falloutRalf Jung-2/+3
2020-01-11lints: promote levels.rs to lint.rs & extract passes.rsMazdak Farrokhzad-1/+1
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-1/+1
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-1/+1
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-1/+1
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-1/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-26Prevent an ICE on invalid transmutesOliver Scherer-0/+6
2019-12-22Format the worldMark Rousskov-219/+201
2019-12-07Auto merge of #66927 - RalfJung:engines-dont-panic, r=oli-obkbors-2/+19
2019-12-01Miri core engine: use throw_ub instead of throw_panicRalf Jung-2/+19
2019-12-01add reusable MachineStop variant to Miri engine error enumRalf Jung-16/+12
2019-12-01Rollup merge of #66832 - RalfJung:const-prop-no-alloc, r=oli-obkMazdak Farrokhzad-7/+13
2019-11-28const_prop: detect and avoid catching Miri errors that require allocationRalf Jung-7/+13
2019-11-28Removed FIXME commentDavid Haig-2/+0
2019-11-28Remove duplication using single variant for errorDavid Haig-11/+11
2019-11-28SquashDavid Haig-0/+6
2019-11-26Fix spelling typosBrian Wignall-1/+1
2019-11-21Introduce MIR optimizations for simplifying `x?` on `Result`s.Mazdak Farrokhzad-1/+1
2019-11-14Update to use new librustc_error_codes libraryGuillaume Gomez-0/+2
2019-10-18Don't ICE when evaluating writes to uninhabited enum variantsWesley Wiser-3/+4
2019-10-02Compute the layout of uninhabited structsOliver Scherer-6/+0
2019-09-27Introduce a `ConstPropMachine`Wesley Wiser-12/+0
2019-09-27Work around for #64506Wesley Wiser-0/+6
2019-09-27[const-prop] Replace `eval_place()` with use of `InterpCx`Wesley Wiser-0/+12
2019-09-17Rollup merge of #64541 - RalfJung:miri-errors, r=oli-obkTyler Mandry-1/+14
2019-09-17Get rid of special const intrinsic query in favour of `const_eval`Oliver Scherer-0/+9
2019-09-17document Miri error categoriesRalf Jung-1/+14
2019-09-07Aggregation of cosmetic changes made during work on REPL PRs: librustcAlexander Regueiro-9/+7
2019-09-06Fixed grammar/style in error messages and reblessed tests.Alexander Regueiro-6/+6
2019-08-10rename RUST_CTFE_BACKTRACE to RUSTC_CTFE_BACKTRACERalf Jung-1/+1
2019-08-07Auto merge of #63152 - estebank:big-array, r=oli-obkbors-7/+11
2019-08-04tweak output and testsEsteban Küber-1/+3
2019-08-04AssumptionNotHeld is used only once in Miri and never caught... remove from enumRalf Jung-4/+0