about summary refs log tree commit diff
path: root/src/librustc_mir/transform/check_consts/validation.rs
AgeCommit message (Expand)AuthorLines
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-31/+18
2020-01-10Remove Static from PlaceBaseSantiago Pastorino-17/+7
2020-01-09Rollup merge of #67781 - cjgillot:passes-const, r=oli-obkYuki Okushi-3/+4
2020-01-08Move `is_min_const_fn` query to librustc_mir.Camille GILLOT-3/+4
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-0/+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-22Format the worldMark Rousskov-169/+124
2019-12-18Add Rvalue::AddressOf to MIRMatthew Jasper-41/+71
2019-12-08Rollup merge of #66991 - Nashenas88:body_cache_cleanup, r=eddybMazdak Farrokhzad-3/+3
2019-12-06Rollup merge of #66606 - christianpoveda:mut-refs-in-const-fn, r=oli-obkMazdak Farrokhzad-3/+10
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-3/+3
2019-12-04Auto merge of #66275 - oli-obk:organize-intrinsics-promotion-checks, r=RalfJungbors-19/+1
2019-12-03rustc: expose the mir::Body reference lifetime from mir::ReadOnlyBodyCache (#...Eduard-Mihai Burtescu-8/+8
2019-12-03Only check `min_const_fn` for const fnsOliver Scherer-1/+1
2019-12-03Check intrinsics for callability in const fnsMahmut Bulut-18/+0
2019-12-02Fix issues caused during rebasingPaul Daniel Faria-1/+1
2019-12-02Disallow cell borrowingChristian Poveda-3/+10
2019-12-02Fix rebasing errors, convert some BodyCache::body() calls to reborrowsPaul Daniel Faria-8/+8
2019-12-02Fix type errors created during rebasingPaul Daniel Faria-14/+14
2019-12-02Rollup merge of #66654 - ecstatic-morse:check-consts-ref, r=eddyb,matthewjasperRalf Jung-97/+95
2019-12-01Incorporate fixes from reviewDylan MacKenzie-5/+3
2019-11-30Merge match branchesChristian Poveda-4/+1
2019-11-27Don't treat a reference to a `static` as a reborrowDylan MacKenzie-0/+13
2019-11-27Remove `CheckOpResult`Dylan MacKenzie-14/+6
2019-11-27Remove `derived_from_illegal_borrow`Dylan MacKenzie-41/+1
2019-11-27Handle `Rvalue::Ref` in one placeDylan MacKenzie-71/+106
2019-11-26Change way of checking SetDiscriminantChristian Poveda-3/+2
2019-11-26Check SetDiscriminant placeChristian Poveda-1/+4
2019-11-21Track pointers to statics in MIRMatthew Jasper-11/+25
2019-11-21Fix rebaseMatthew Jasper-1/+1
2019-11-21Readjust const qualification to detect statics againSantiago Pastorino-3/+12
2019-11-15Fix nits from reviewDylan MacKenzie-3/+3
2019-11-15Use `mir::QualifSet` to store qualifsDylan MacKenzie-9/+7
2019-11-15Remove unnecessary `fmt::Debug` boundDylan MacKenzie-3/+2
2019-11-15Remove remaining validator mismatch codeDylan MacKenzie-16/+1
2019-11-15Move `delay_span_bug` into `emit_error` for if/loopDylan MacKenzie-17/+4
2019-11-15Enable standalone const-checking with `Validator`Dylan MacKenzie-1/+126
2019-11-15Allow `Validator` to get qualifs for the return placeDylan MacKenzie-1/+45
2019-11-15Rollup merge of #66306 - spastorino:remove-error-handled-by-miri, r=oli-obkYuki Okushi-11/+1
2019-11-13Change control flow error to delay span bugDylan MacKenzie-1/+8
2019-11-12check-consts remove cannot mutate statics in initializer of another static errorSantiago Pastorino-11/+1
2019-10-25Remove `QualifResolver` abstractionDylan MacKenzie-60/+102
2019-10-25Make `check_consts::Item` work on non-const fnsDylan MacKenzie-68/+3
2019-10-26rustc_mir: use the new validator's Qualif in promotion.Eduard-Mihai Burtescu-5/+4
2019-10-22Pattern match over PlaceRef rather than PlaceSantiago Pastorino-10/+10
2019-10-03Rollup merge of #65056 - spastorino:place-mut-visitor-adjusts, r=oli-obkTyler Mandry-9/+9
2019-10-03Make visit_projection iterativeSantiago Pastorino-9/+9
2019-10-01Pass attrs to `do_dataflow` in new const checkerDylan MacKenzie-1/+1