summary refs log tree commit diff
path: root/src/test/ui/consts
AgeCommit message (Expand)AuthorLines
2018-11-22Replace the ICEing on const fn loops with an errorOliver Scherer-0/+13
2018-11-12Add missing `rustc_promotable` attribute to unsigned `min_value` and `max_value`Oliver Scherer-0/+74
2018-11-01Fix wrong validation clasisfication of `Option<&T>::Some` valuesOliver Scherer-0/+18
2018-10-31Fix an ICE in the min_const_fn analysisOliver Scherer-0/+23
2018-10-21Use new region infer errors for explaining borrowsMatthew Jasper-132/+132
2018-10-19skip user-type annotations if they don't have regionsNiko Matsakis-19/+4
2018-10-19lowering casts in constants now creates multiple usesNiko Matsakis-6/+21
2018-10-19Auto merge of #55194 - kennytm:rollup, r=kennytmbors-0/+61
2018-10-19Rollup merge of #55071 - oli-obk:const_cast_🍨, r=RalfJungkennytm-0/+61
2018-10-19Auto merge of #55004 - oli-obk:sized_static, r=cramertjbors-24/+17
2018-10-17Update output for borrowck=migrate compare mode.David Wood-4/+10
2018-10-16Check the type of statics and constants for `Sized`nessOliver Scherer-24/+17
2018-10-15Add trailing newline to satisfy tidyOliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer-1/+1
2018-10-15Try to trigger some error casesOliver Scherer-0/+46
2018-10-14Fix ICE and report a human readable errorOliver Scherer-0/+15
2018-10-13validation: accept pointers in integer arraysRalf Jung-1/+12
2018-10-13Fix and test upvar name printing for validityRalf Jung-0/+36
2018-10-12Auto merge of #54715 - oli-obk:nll_deref_promotion, r=RalfJungbors-0/+37
2018-10-09unify handling of thin and fat pointers by moving primitive type handling out...Ralf Jung-8/+19
2018-10-09add some tests with constants that better be validRalf Jung-0/+18
2018-10-09move a test to a better placeRalf Jung-0/+254
2018-10-09also validate everything that has a Scalar layout, to catch NonNullRalf Jung-4/+56
2018-10-09fix validating arrays of ZSTsRalf Jung-14/+23
2018-10-09switch validation of scalars to be type-drivenRalf Jung-32/+50
2018-10-09check that entire ref is in-bounds before recursing; add macro for validation...Ralf Jung-9/+30
2018-10-05Stabilize `min_const_fn`Oliver Schneider-121/+117
2018-10-03Move platform dependent output ui tests to compile-failOliver Schneider-184/+0
2018-10-03Only promote calls to `#[rustc_promotable]` const fnsOliver Schneider-21/+233
2018-10-02Rollup merge of #54702 - RalfJung:fn-ptr-promotion, r=oli-obkPietro Albini-4/+27
2018-10-01Fix #54224 (const promotion regression)Oliver Schneider-0/+37
2018-09-30also compile-fail test fn ptr comparison promotionRalf Jung-4/+27
2018-09-30do not normalize non-scalar constants to a ConstValue::ScalarPairRalf Jung-4/+6
2018-09-25Update E0714 to E0716 in tests outputMikhail Modin-30/+30
2018-09-25Change the diagnostic number from 714 to 716.Felix S. Klock II-13/+13
2018-09-25add "temporary value dropped while borrowed" errorMikhail Modin-8/+360
2018-09-24Update ui testsMatthew Jasper-150/+0
2018-09-19Make the span of the MIR return place point to the return typeMatthew Jasper-32/+32
2018-09-14Auto merge of #54032 - oli-obk:layout_scalar_ranges, r=eddybbors-0/+5
2018-09-14Rollup merge of #53829 - alexcrichton:release-debuginfo, r=michaelwoeristerkennytm-0/+2
2018-09-14Rollup merge of #54147 - agnxy:const-eval-test, r=oli-obkkennytm-0/+55
2018-09-12Add a test that tries to modify static memory at compile-timeAndrew Xu-0/+55
2018-09-11Use assertion-like static assertionsOliver Schneider-1/+1
2018-09-11Fix const eval of ZST index operations to make the static assertion workOliver Schneider-0/+5
2018-09-10Add rustc SHA to released DWARF debuginfoAlex Crichton-0/+2
2018-09-10WIP remove incorrect nll.stderr reference filesNiko Matsakis-56/+0
2018-09-10insert `AscribeUserType` for ascriptionsNiko Matsakis-1/+22
2018-09-08Auto merge of #51366 - japaric:stable-panic-impl, r=Mark-Simulacrumbors-7/+6
2018-09-07stabilize `#[panic_handler]`Jorge Aparicio-7/+6
2018-09-07Rollup merge of #53991 - TimDiekmann:fix-unchecked-intrinsics, r=oli-obkkennytm-0/+41
2018-09-06Auto merge of #52626 - brunocodutra:issue-52475, r=oli-obkbors-0/+67