about summary refs log tree commit diff
path: root/src/librustc/ty/constness.rs
AgeCommit message (Collapse)AuthorLines
2020-01-08Move constness.rs to librustc_mir.Camille GILLOT-156/+0
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-2/+2
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-24x.py fmt after previous deignoreMark Rousskov-66/+70
2019-12-20Require const stability attributes on intrinsics to be able to use them in ↵Oliver Scherer-96/+2
constant contexts
2019-12-13Consistently name `min_const_fn`Oliver Scherer-2/+2
2019-12-13Change the const stab default for internal const fnsOliver Scherer-4/+7
2019-12-13Elaborate internal const fn commentOliver Scherer-1/+3
2019-12-13Require stable/unstable annotations for the constness of all stable ↵Oliver Scherer-12/+33
functions with a `const` modifier
2019-12-04Leave fixmeOliver Scherer-0/+1
2019-12-03const fns can read constants that invoke unstable const fnsOliver Scherer-1/+1
2019-12-03Explain the difference between the two whitelistsOliver Scherer-0/+9
2019-12-03Move all intrinsic whitelists into the constness check fileOliver Scherer-0/+35
2019-12-03Check intrinsics for callability in const fnsMahmut Bulut-3/+67
2019-10-27Stabilize `const_constructor`Matthew Jasper-8/+3
2019-06-22Rollup merge of #62019 - jeremystucki:refactoring, r=estebankMazdak Farrokhzad-4/+4
Remove needless lifetimes
2019-06-21Remove needless lifetimesJeremy Stucki-4/+4
2019-06-20rename hir::map::get_by_hir_id to getljedrz-1/+1
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-4/+4
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-4/+4
2019-06-12Fix fallout from `deny(unused_lifetimes)`.Eduard-Mihai Burtescu-4/+4
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-4/+4
2019-06-06Make constructors actually be const functionsMatthew Jasper-13/+19
2019-04-23Add rustc_allow_const_fn_ptrTaylor Cramer-0/+7
2019-03-07HirIdification: replace NodeId method callsljedrz-3/+3
2019-02-10rustc: doc commentsAlexander Regueiro-1/+1
2019-02-05move librustc to 2018Mark Mansi-5/+5
2018-12-06Use a function to access the Hir map to be able to turn it into a query laterJohn Kåre Alsaker-2/+2
2018-12-04Intrinsic checks are just needed for `qualify_min_const_fn`Oliver Scherer-14/+1
2018-12-04Clean up the logic in `is_min_const_fn`Oliver Scherer-13/+18
2018-12-04Allow calling `const unsafe fn` in `const fn` behind a feature gateOliver Scherer-2/+2
2018-11-27avoid features_untrackedRalf Jung-1/+1
2018-10-05Stabilize `min_const_fn`Oliver Schneider-1/+1
2018-10-03Fix typoOliver Schneider-1/+1
2018-10-03Only promote calls to `#[rustc_promotable]` const fnsOliver Schneider-0/+111