about summary refs log tree commit diff
path: root/src/test/ui/consts
AgeCommit message (Expand)AuthorLines
2021-01-23Adjust wording of a diagnosticoli-8/+8
2021-01-23Fix a comment that only made sense in the context of a dataflow based mutabil...oli-3/+2
2021-01-23Rename tests to what their code actually doesoli-0/+0
2021-01-23Permit mutable references in all const contextsoli-103/+148
2021-01-22re-bless ui testsRalf Jung-53/+5
2021-01-22expand successful-promotion test a bitRalf Jung-16/+18
2021-01-22do promote array indexing if we know it is in-boundsRalf Jung-0/+3
2021-01-22avoid promoting division, modulo and indexing operations that could failRalf Jung-234/+234
2021-01-18Auto merge of #80707 - oli-obk:stability_hole_const_intrinsics, r=RalfJungbors-0/+50
2021-01-18Move test to `src/test/ui/consts/`Camelid-0/+40
2021-01-18Only inherit const stability for methods of `impl const Trait` blocksoli-5/+11
2021-01-17validation test: turn some const_err back into validation failuresRalf Jung-81/+59
2021-01-17Add regression testoli-0/+44
2021-01-16Move some tests to more reasonable directories - 2Caio-0/+495
2021-01-13Update code to account for extern ABI requirementMark Rousskov-20/+20
2021-01-13Update tests for extern block lintingMark Rousskov-3/+3
2021-01-13Stabilize remaining integer methods as `const fn`Jacob Pratt-5/+0
2021-01-12Auto merge of #78407 - oli-obk:ub_checkable_ctfe, r=RalfJung,pnkfelixbors-42/+69
2021-01-04Do not run const prop on the `mir_for_ctfe` of `const fn`oli-1/+1
2021-01-04Update stderr files after rebaseoli-5/+0
2021-01-04Keep an unoptimized duplicate of `const fn` aroundoli-41/+73
2021-01-04make sure that promoteds which fail to evaluate in dead const code behave cor...Ralf Jung-2/+13
2021-01-03Refactor the non-transient cell borrow error diagnosticoli-9/+9
2021-01-03Update now-more-precise operation with a preciser messageoli-6/+6
2021-01-01Reinstate the error-code error over the feature gate erroroli-9/+3
2021-01-01Enhance some commentsoli-9/+14
2021-01-01Fix cell checks in const fnoli-0/+2
2021-01-01Allow references to interior mutable data behind a feature gateoli-23/+64
2020-12-30Rollup merge of #80491 - RalfJung:dangling-of-val, r=oli-obkMara Bos-0/+7
2020-12-30CTFE: test size/align_of_val_raw on dangling pointersRalf Jung-0/+7
2020-12-29Remove `compile-fail` test suiteVadim Petrochenkov-0/+142
2020-12-21Auto merge of #79270 - RalfJung:array-repeat-consts, r=oli-obkbors-0/+27
2020-12-20make sure [CONST; N] drops N timesRalf Jung-2/+16
2020-12-20add test that repeating non-Copy constants worksRalf Jung-0/+13
2020-12-19also const-check FakeReadRalf Jung-0/+5
2020-12-10re-bless testsRalf Jung-0/+34
2020-12-09remove a hack that seems to only benefit a few very special casesRalf Jung-3/+31
2020-12-09make sure we do not promote things with interior mutabilityRalf Jung-7/+22
2020-12-03Auto merge of #79594 - vn-ki:const-eval-intrinsic, r=oli-obkbors-112/+235
2020-12-02rename MemoryKind::Heap to ConstHeap; bless testVishnunarayan K I-7/+14
2020-12-02add comment and bless some testsVishnunarayan K I-110/+93
2020-12-01review comment and one more testVishnunarayan K I-11/+23
2020-12-01review commentsVishnunarayan K I-1/+43
2020-12-01Rollup merge of #79444 - sasurau4:test/move-const-ip, r=matkladMara Bos-13/+0
2020-12-01Rollup merge of #79227 - sasurau4:test/move-cell-test-to-lib-core, r=jyn514Mara Bos-13/+0
2020-12-01add const_allocate intrisicVishnunarayan K I-0/+79
2020-11-30Make ui test that are run-pass and do not test the compiler itself library testsChristiaan Dirkx-70/+0
2020-11-29Update tests to remove old numeric constantsbstrie-86/+68
2020-11-26Move const ip in ui test to unit testDaiki Ihara-13/+0
2020-11-26remove const-fn-feature-flags testDaiki Ihara-13/+0