summary refs log tree commit diff
path: root/src/test/ui/consts
AgeCommit message (Expand)AuthorLines
2020-01-17expect `fn` after `const unsafe` / `const extern`Mazdak Farrokhzad-0/+41
2020-01-13Use the correct type for static qualifsMatthew Jasper-0/+14
2019-12-15Auto merge of #67216 - ecstatic-morse:const-loop, r=oli-obkbors-102/+454
2019-12-14Auto merge of #67224 - nikomatsakis:revert-stabilization-of-never-type, r=cen...bors-9/+12
2019-12-14add `#![feature(never_type)]` to tests as neededNiko Matsakis-8/+11
2019-12-14Revert "Remove `#![feature(never_type)]` from tests."Niko Matsakis-1/+1
2019-12-14Auto merge of #67136 - oli-obk:const_stability, r=Centrilbors-23/+39
2019-12-13Auto merge of #65951 - estebank:type-inference-error, r=nikomatsakisbors-2/+2
2019-12-13Ensure test actually uses dataflow, not simulationDylan MacKenzie-3/+7
2019-12-13Apply suggestions from reviewDylan MacKenzie-0/+2
2019-12-13Fix grammar in test descriptionecstatic-morse-1/+1
2019-12-13Bless modified testsDylan MacKenzie-80/+298
2019-12-13Bless unrelated tests with new help messageDylan MacKenzie-13/+37
2019-12-13Add qualif smoke tests for const loopsDylan MacKenzie-0/+61
2019-12-13Extend control flow basics tests with loopsDylan MacKenzie-9/+52
2019-12-13Require stable/unstable annotations for the constness of all stable functions...Oliver Scherer-18/+34
2019-12-13Reuse the `staged_api` feature for `rustc_const_unstable`Oliver Scherer-5/+5
2019-12-12Require `allow_internal_unstable` for stable min_const_fn using unstable feat...Oliver Scherer-27/+32
2019-12-11Add more context for type parametersEsteban Küber-2/+2
2019-12-11Rollup merge of #67164 - matthewjasper:never-remove-const, r=oli-obkMazdak Farrokhzad-0/+114
2019-12-11Rollup merge of #67134 - oli-obk:const_prop_zst, r=wesleywiserYuki Okushi-0/+41
2019-12-09Ensure that unevaluated constants of type `!` are present in the MIRMatthew Jasper-0/+114
2019-12-09Show const_err lint in addition to the hard errorOliver Scherer-2/+16
2019-12-08Ensure that we get a hard error on generic ZST constants if their body causes...Oliver Scherer-0/+27
2019-12-07Auto merge of #65881 - anp:implicit-caller-location, r=eddyb,oli-obkbors-23/+0
2019-12-07Auto merge of #66927 - RalfJung:engines-dont-panic, r=oli-obkbors-69/+20
2019-12-06Rollup merge of #66606 - christianpoveda:mut-refs-in-const-fn, r=oli-obkMazdak Farrokhzad-68/+152
2019-12-05Rename test filename to match others.Adam Perry-41/+0
2019-12-05Implement #[track_caller] in const.Adam Perry-9/+27
2019-12-05add regression test for issue 67053Remy Rakic-0/+51
2019-12-04Auto merge of #66275 - oli-obk:organize-intrinsics-promotion-checks, r=RalfJungbors-4/+23
2019-12-03Rollup merge of #66960 - wesleywiser:fix_66787_take2, r=oli-obk,RalfJungMazdak Farrokhzad-0/+39
2019-12-03[const-prop] Fix ICE calculating enum discriminantWesley Wiser-0/+39
2019-12-03Move all intrinsic whitelists into the constness check fileOliver Scherer-4/+4
2019-12-03Check intrinsics for callability in const fnsMahmut Bulut-0/+19
2019-12-02Add dual tests for const_mut_refsChristian Poveda-9/+39
2019-12-02Update miri unleashed testsChristian Poveda-9/+37
2019-12-02Suggest feature for const_mut_refs errorsChristian Poveda-16/+34
2019-12-02Update miri_unleashed testsChristian Poveda-53/+6
2019-12-02Extend test for const_mut_refs featureChristian Poveda-3/+22
2019-12-02Allow mutable derefs with feature gateChristian Poveda-1/+3
2019-12-02Move and rewrite tests to use &mut in constantsChristian Poveda-16/+16
2019-12-02Rename feature gateChristian Poveda-1/+1
2019-12-02Add tests for mutable borrows in const fnsChristian Poveda-0/+34
2019-12-02Rollup merge of #66654 - ecstatic-morse:check-consts-ref, r=eddyb,matthewjasperRalf Jung-9/+23
2019-12-01Miri core engine: use throw_ub instead of throw_panicRalf Jung-69/+20
2019-11-28Auto merge of #66642 - ecstatic-morse:promotion-in-const, r=eddybbors-29/+44
2019-11-28Auto merge of #66294 - davidhewitt:const_fn_memoization, r=oli-obkbors-69/+36
2019-11-27Also test shared borrows of `Cell` for good errorsDylan MacKenzie-3/+20
2019-11-27Rollup merge of #66800 - jyn514:combine-const-match-tests, r=Dylan-DPCTyler Mandry-22/+11