summary refs log tree commit diff
path: root/src/test/ui/consts
AgeCommit message (Expand)AuthorLines
2020-03-09Added oli's multivariant test case (alpha renaming the enum name itself).Felix S. Klock II-3/+63
2020-03-09Fix #69191Felix S. Klock II-0/+31
2020-02-27lit_to_const: gracefully bubble up type errors.Mazdak Farrokhzad-0/+26
2020-01-28Rollup merge of #68563 - Aaron1011:fix/fn-sig-closure, r=varkorYuki Okushi-0/+26
2020-01-27Rollup merge of #68370 - Aaron1011:const-extern-test, r=RalfJungPietro Albini-0/+44
2020-01-27Don't call `tcx.fn_sig` on closuresAaron Hill-0/+26
2020-01-26Ensure that we error when calling "const extern fn" with wrong conventionAaron Hill-0/+44
2020-01-24Do not ICE on multipart suggestions touching multiple filesEsteban Küber-1/+1
2020-01-21Rollup merge of #68297 - Aaron1011:fix/new-const-prop-bounds, r=oli-obkYuki Okushi-0/+43
2020-01-21Rollup merge of #68290 - petrochenkov:passcheck, r=oli-obkYuki Okushi-25/+28
2020-01-20Rollup merge of #68335 - RalfJung:drop-in-place, r=Mark-SimulacrumDylan DPC-3/+3
2020-01-18slice_patterns: remove gates in testsMazdak Farrokhzad-1/+0
2020-01-18Auto merge of #68170 - wesleywiser:stop_const_prop_ref_taking, r=oli-obkbors-0/+77
2020-01-18adjust ui testsRalf Jung-3/+3
2020-01-17Rollup merge of #68256 - estebank:bad-sugg-span, r=petrochenkovTyler Mandry-1/+1
2020-01-18Fix some tests failing in `--pass check` modeVadim Petrochenkov-25/+28
2020-01-17Add @weiznich's regression testAaron Hill-0/+43
2020-01-16review commentsEsteban Küber-1/+1
2020-01-16Do not ICE on malformed suggestion spansEsteban Küber-1/+1
2020-01-16Array repeat expression lengths must be monomorphic at MIR building timeOliver Scherer-0/+25
2020-01-16Rollup merge of #68096 - varkor:diagnostic-cleanup, r=CentrilDylan DPC-4/+4
2020-01-15Auto merge of #67603 - oli-obk:no_mut_static_ref_from_const, r=RalfJungbors-0/+5
2020-01-15Rollup merge of #68219 - oli-obk:fix_miri, r=RalfJung,wesleywiserYuki Okushi-4/+30
2020-01-15Rollup merge of #67914 - Aaron1011:fix/const-prop-impossible, r=matthewjasper...Yuki Okushi-0/+20
2020-01-15Promoteds can contain raw pointers, but these must still only point to immuta...Oliver Scherer-0/+5
2020-01-15Add testsOliver Scherer-4/+30
2020-01-14perf: eagerly convert literals to consts, this avoids creating loads on uneva...Ben Lewis-1/+1
2020-01-13Add additional regression testAaron Hill-0/+20
2020-01-12Turn off const propagation of ref takingWesley Wiser-0/+77
2020-01-12Add backticks in appropriate placesvarkor-1/+1
2020-01-12Diagnostics should not end with a full stopvarkor-2/+2
2020-01-12Diagnostics should start lowercasevarkor-1/+1
2020-01-11Auto merge of #67000 - spastorino:remove-promoted-from-place, r=oli-obkbors-114/+184
2020-01-11Rollup merge of #68114 - ecstatic-morse:fix-feature-gating, r=CentrilMazdak Farrokhzad-31/+27
2020-01-11Rollup merge of #68079 - varkor:E0013-clarify, r=CentrilMazdak Farrokhzad-2/+6
2020-01-10Remove unnecessary `const_fn` feature gatesDylan MacKenzie-31/+27
2020-01-11Rollup merge of #68014 - estebank:unify-e0599, r=cramertjYuki Okushi-1/+1
2020-01-10Clarify suggestion for E0013varkor-2/+6
2020-01-10Errors in promoteds may only cause lints not hard errorsOliver Scherer-162/+136
2020-01-10Promoteds also need param envs.Oliver Scherer-1/+1
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-27/+123
2020-01-10Rollup merge of #68073 - Centril:fix-68062, r=estebankMazdak Farrokhzad-0/+41
2020-01-09expect `fn` after `const unsafe` / `const extern`Mazdak Farrokhzad-0/+41
2020-01-09Update testsVadim Petrochenkov-11/+64
2020-01-08Remove `-Z continue-parse-after-error`Vadim Petrochenkov-1/+1
2020-01-08Unify output of "variant not found" errorsEsteban Küber-1/+1
2020-01-05Add backticks to various diagnosticsvarkor-3/+3
2020-01-04Rollup merge of #67709 - petrochenkov:nodedup2, r=CentrilDylan DPC-1/+1
2020-01-03Introduce an option for disabling deduplication of diagnosticsVadim Petrochenkov-1/+1
2020-01-02Revert `const_err` lint checking of castsWesley Wiser-27/+11