about summary refs log tree commit diff
path: root/src/librustc_mir/transform/qualify_consts.rs
AgeCommit message (Expand)AuthorLines
2019-04-25Update mir_const_qualifJohn Kåre Alsaker-7/+4
2019-04-22Never stop due to errors before borrow checkingEsteban Küber-1/+3
2019-04-20Auto merge of #59987 - saleemjaffer:refactor_adjust_castkinds, r=oli-obkbors-5/+1
2019-04-16refactor Adjustment to use new PointerCast enumSaleem Jaffer-6/+2
2019-04-15basic refactor. Adding PointerCast enumSaleem Jaffer-6/+6
2019-04-10Documentation should have proper grammarOliver Scherer-3/+6
2019-04-08Elaborate on implicit promotabilityOliver Scherer-1/+4
2019-04-08Pacify tidyOliver Scherer-2/+5
2019-04-08Get rid of "is not const" namingOliver Scherer-16/+16
2019-04-08Explicit promotion is indistinguishable from explicit promotionOliver Scherer-10/+8
2019-04-08Generalize initial "not const" assignmentsOliver Scherer-18/+13
2019-04-07Update commentOliver Scherer-1/+1
2019-04-07Add more regression tests for accidental promotionOliver Scherer-2/+2
2019-04-07Function arguments should never get promotedOliver Scherer-1/+1
2019-04-03Rollup merge of #59514 - tmandry:remove-adt-def-from-projection-elem, r=eddybMazdak Farrokhzad-9/+9
2019-04-02Remove adt_def from PlaceTy and make it a structTyler Mandry-9/+9
2019-04-02Rollup merge of #59585 - rust-lang:shallow-borrow-fixes, r=pnkfelixMazdak Farrokhzad-1/+4
2019-04-01Allow closure to unsafe fn coercionTaiki Endo-1/+1
2019-03-31Fixes for shallow borrowsMatthew Jasper-1/+4
2019-03-24code review fixesSaleem Jaffer-1/+3
2019-03-23adding mir::StaticKind enum for static and promotedSaleem Jaffer-11/+20
2019-03-18fixed all compilation errorsSaleem Jaffer-2/+2
2019-03-18cleaner code as per reviewSaleem Jaffer-61/+51
2019-03-18promoted is still left in 2 placesSaleem Jaffer-54/+65
2019-03-16Revert the `LazyConst` PROliver Scherer-3/+4
2019-03-15rustc: rename item_path to def_path (except the module in ty).Eduard-Mihai Burtescu-1/+1
2019-03-11Auto merge of #58784 - oli-obk:accidental_promotion, r=eddybbors-5/+4
2019-03-03Auto merge of #58673 - matthewjasper:typeck-ptr-coercions, r=pnkfelixbors-0/+1
2019-03-01Schedule the demolition of `IsNotPromotable`Oliver Scherer-0/+2
2019-03-01Put Local, Static and Promoted as one Base variant of PlaceSantiago Pastorino-14/+22
2019-02-27Don't promote function calls to nonpromotable thingsOliver Scherer-5/+2
2019-02-23Type check coercions to pointer typesMatthew Jasper-0/+1
2019-02-16Rollup merge of #58196 - varkor:const-fn-feature-gate-error, r=oli-obkkennytm-1/+11
2019-02-14Add specific error for unstable const fn featuresvarkor-1/+11
2019-02-14rustc_mir: compute all the qualification bits separately in qualify_consts.Eduard-Mihai Burtescu-363/+504
2019-02-14rustc_mir: rename qualify_consts::Qualifier to ConstCx and keep in Checker as...Eduard-Mihai Burtescu-34/+35
2019-02-14rustc_mir: do not treat NEEDS_DROP as unexpected in qualify_consts.Eduard-Mihai Burtescu-8/+3
2019-02-14rustc_mir: avoid having an Option around each local qualification in qualify_...Eduard-Mihai Burtescu-59/+48
2019-02-14rustc_mir: rename `Qualif::for_ty to `Qualif::any_value_of_ty`.Eduard-Mihai Burtescu-14/+19
2019-02-14rustc_mir: remove qualify_consts::Qualif::FN_ARGUMENT.Eduard-Mihai Burtescu-12/+4
2019-02-14rustc_mir: remove outdated `const fn` stability diagnostic.Eduard-Mihai Burtescu-22/+4
2019-02-14rustc_mir: split qualify_consts' checking and value qualification.Eduard-Mihai Burtescu-451/+608
2019-02-14rustc_mir: split off some qualify_consts::Checker fields into a State struct.Eduard-Mihai Burtescu-61/+73
2019-02-14rustc_mir: rename qualify_consts::Qualifier to Checker.Eduard-Mihai Burtescu-18/+18
2019-02-13HirId-ify hir::BodyIdljedrz-2/+2
2019-02-12Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnikbors-3/+3
2019-02-12Auto merge of #58098 - oli-obk:maybe_allow_internal_unstable, r=petrochenkovbors-1/+1
2019-02-12Auto merge of #58246 - pmccarter:master, r=oli-obkbors-0/+2
2019-02-11Require a list of features to allow in `allow_internal_unstable`Oliver Scherer-1/+1
2019-02-10rustc: doc commentsAlexander Regueiro-3/+3