summary refs log tree commit diff
path: root/src/test/ui/consts/const_limit
AgeCommit message (Collapse)AuthorLines
2021-09-01Fix drop handling for `if let` expressionsMatthew Jasper-14/+10
MIR lowering for `if let` expressions is now more complicated now that `if let` exists in HIR. This PR adds a scope for the variables bound in an `if let` expression and then uses an approach similar to how we handle loops to ensure that we reliably drop the correct variables.
2021-02-03make const_err a future incompat lintRalf Jung-0/+4
2020-06-28Update testsDylan MacKenzie-3/+1
2020-06-28Update testsDylan MacKenzie-5/+4
2020-06-12fix const_prop spans and re-bless testsRalf Jung-10/+13
2020-03-22Rename `TimeLimitReached` -> `StepLimitReached`Dylan MacKenzie-1/+1
2020-03-17Update const-eval testsDylan MacKenzie-35/+39
2020-03-05Bumped version number for const_eval_limit in active.rsChristoph Schmidler-3/+27
and renamed 'recursion_limit' in limits.rs to simple 'limit' because it does handle other limits too.
2020-03-05Opt out of CTFE if the 'const_eval_limit' is set to 0Christoph Schmidler-1/+9
2020-03-05Add a new test to reach const_limit setting, although with wrong WARNINGs yetChristoph Schmidler-20/+35
rename feature to const_eval_limit
2020-03-05Disable CTFE if const_limit was set to 0, otherwise use the value set, which ↵Christoph Schmidler-1/+33
defaults to 1_000_000
2020-03-05Prepare const_limit feature gate and attributeChristoph Schmidler-0/+24