summary refs log tree commit diff
path: root/src/librustc_mir/transform/const_prop.rs
AgeCommit message (Expand)AuthorLines
2020-03-08fix some cases of unexpected exceptions leaving validationRalf Jung-2/+3
2020-03-08move error allocation test to error.rsRalf Jung-26/+9
2020-03-06fix various typosMatthias Krüger-1/+1
2020-03-04Auto merge of #69550 - RalfJung:scalar, r=oli-obkbors-1/+3
2020-03-01Auto merge of #69408 - RalfJung:canonical-alloc-id, r=oli-obkbors-12/+0
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-28remove ScalarMaybeUndef::to_bits and make Scalar::to_bits privateRalf Jung-1/+3
2020-02-23miri/machine: add canonical_alloc_id hook to replace find_foreign_staticRalf Jung-12/+0
2020-02-20Rollup merge of #69185 - RalfJung:const-prop-lints, r=oli-obkMazdak Farrokhzad-91/+86
2020-02-18better lint namesRalf Jung-4/+4
2020-02-16Make librustc_mir compile.Camille GILLOT-1/+1
2020-02-15Tighter type bounds for messagesRalf Jung-1/+1
2020-02-15fix exceeding_bitshift lint and testRalf Jung-5/+7
2020-02-14const-prop: use one helper method for all lints; consistently lint overflow o...Ralf Jung-87/+80
2020-02-13fix typoRalf Jung-1/+1
2020-02-13rename PanicInfo -> AssertKindRalf Jung-10/+10
2020-02-13improve comments:Ralf Jung-4/+8
2020-02-13move PanicInfo to mir moduleRalf Jung-3/+3
2020-02-13const-prop: handle overflow_check consistently for all operatorsRalf Jung-15/+10
2020-02-13remove Panic variant from InterpErrorRalf Jung-46/+37
2020-02-12Rollup merge of #69002 - RalfJung:miri-op-overflow, r=oli-obk,wesleywiserDylan DPC-17/+17
2020-02-11Move more into decorate functions.jumbatm-2/+4
2020-02-11Run RustFmtjumbatm-4/+11
2020-02-11Invert control in struct_lint_level.jumbatm-30/+37
2020-02-09const-prop: use overflowing_unary_op for overflowing checking of unary opsRalf Jung-17/+17
2020-01-21Rollup merge of #68297 - Aaron1011:fix/new-const-prop-bounds, r=oli-obkYuki Okushi-22/+22
2020-01-18[const-prop] Run `x.py fmt`Wesley Wiser-5/+1
2020-01-18[const-prop] Remove useless typedefWesley Wiser-7/+5
2020-01-18Auto merge of #68170 - wesleywiser:stop_const_prop_ref_taking, r=oli-obkbors-20/+3
2020-01-17Fix typoAaron Hill-1/+1
2020-01-16Filter and test predicates using `normalize_and_test_predicates` for const-propAaron Hill-22/+22
2020-01-15Auto merge of #67603 - oli-obk:no_mut_static_ref_from_const, r=RalfJungbors-4/+4
2020-01-15Promoteds can contain raw pointers, but these must still only point to immuta...Oliver Scherer-4/+4
2020-01-13Use TraitQueryMode::Canonical when testing predicates in const propAaron Hill-0/+16
2020-01-13Fix typoAaron Hill-1/+1
2020-01-13Don't run const propagation on items with inconsistent boundsAaron Hill-0/+25
2020-01-12Turn off const propagation of ref takingWesley Wiser-20/+3
2020-01-10Errors in promoteds may only cause lints not hard errorsOliver Scherer-5/+13
2020-01-10Do not store lint_rootSantiago Pastorino-9/+13
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-4/+2
2020-01-10Remove Static from PlaceBaseSantiago Pastorino-2/+2
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-16/+22
2020-01-07Automatically prefer integer addresses for zst MPlaceOliver Scherer-1/+2
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-3/+3
2020-01-04Rollup merge of #67137 - anp:tracked-panic-internals, r=eddybDylan DPC-0/+1
2020-01-04Update ABI in const impls of panic_fn/begin_panic_fn.Adam Perry-0/+1
2020-01-02Revert `const_err` lint checking of castsWesley Wiser-63/+7
2020-01-01Auto merge of #67676 - wesleywiser:lint_overflowing_int_casts, r=oli-obkbors-63/+135
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-30[const-prop] Expand comment about casting ZST enumsWesley Wiser-1/+3