summary refs log tree commit diff
path: root/src/librustc_mir/transform/check_consts
AgeCommit message (Expand)AuthorLines
2020-01-21Auto merge of #65672 - ecstatic-morse:unified-dataflow-proto, r=pnkfelixbors-10/+12
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-3/+0
2020-01-14Use unified dataflow framework in `check_consts`Dylan MacKenzie-10/+12
2020-01-11Auto merge of #67000 - spastorino:remove-promoted-from-place, r=oli-obkbors-55/+34
2020-01-11Rollup merge of #68079 - varkor:E0013-clarify, r=CentrilMazdak Farrokhzad-5/+7
2020-01-11simplify feature_err importsMazdak Farrokhzad-1/+1
2020-01-10Clarify suggestion for E0013varkor-5/+7
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-41/+31
2020-01-10Remove Static from PlaceBaseSantiago Pastorino-20/+7
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-1/+3
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-10/+9
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-3/+4
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-2/+2
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-3/+3
2019-12-25Use the correct type for static qualifsMatthew Jasper-9/+8
2019-12-22Format the worldMark Rousskov-300/+254
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-2/+2
2019-12-18Add Rvalue::AddressOf to MIRMatthew Jasper-51/+96
2019-12-13Put MIR checks for loops behind the feature flagDylan MacKenzie-0/+4
2019-12-08Rollup merge of #66991 - Nashenas88:body_cache_cleanup, r=eddybMazdak Farrokhzad-5/+5
2019-12-06Rollup merge of #66606 - christianpoveda:mut-refs-in-const-fn, r=oli-obkMazdak Farrokhzad-28/+49
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-5/+5
2019-12-05update comment to explain the importance of this check more clearlyRemy Rakic-2/+3
2019-12-05make const-qualif look at more `const fn`sRemy Rakic-1/+5
2019-12-04Auto merge of #66275 - oli-obk:organize-intrinsics-promotion-checks, r=RalfJungbors-35/+1
2019-12-03rustc: expose the mir::Body reference lifetime from mir::ReadOnlyBodyCache (#...Eduard-Mihai Burtescu-12/+12
2019-12-03Only check `min_const_fn` for const fnsOliver Scherer-1/+1
2019-12-03Check intrinsics for callability in const fnsMahmut Bulut-34/+0
2019-12-02Suggest feature for const_mut_refs errorsChristian Poveda-3/+7
2019-12-02Fix issues caused during rebasingPaul Daniel Faria-1/+1
2019-12-02Disallow cell borrowingChristian Poveda-27/+36
2019-12-02Allow mutable derefs with feature gateChristian Poveda-1/+5
2019-12-02Allow mutable borrows in constant bodiesChristian Poveda-0/+4
2019-12-02Fix rebasing errors, convert some BodyCache::body() calls to reborrowsPaul Daniel Faria-12/+12
2019-12-02Fix type errors created during rebasingPaul Daniel Faria-20/+20
2019-12-02Rollup merge of #66654 - ecstatic-morse:check-consts-ref, r=eddyb,matthewjasperRalf Jung-129/+100
2019-12-01Incorporate fixes from reviewDylan MacKenzie-5/+3
2019-12-01Rollup merge of #66790 - christianpoveda:check-set-discriminant, r=oli-obkMazdak Farrokhzad-2/+1
2019-11-30Merge match branchesChristian Poveda-4/+1
2019-11-30move GateIssue to rustc_feature & simplify emit_feature_errMazdak Farrokhzad-24/+24
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-27Remove `Rvalue::Ref` handling from `HasMutInterior`Dylan MacKenzie-29/+1
2019-11-27Handle `Rvalue::Ref` in one placeDylan MacKenzie-71/+106
2019-11-27Use type-based qualification for staticsDylan MacKenzie-3/+4
2019-11-26Change way of checking SetDiscriminantChristian Poveda-3/+2
2019-11-26Check SetDiscriminant placeChristian Poveda-1/+4