summary refs log tree commit diff
path: root/src/test/ui/consts
AgeCommit message (Expand)AuthorLines
2021-02-03Allow/fix non_fmt_panic in tests.Mara Bos-20/+21
2021-02-03make const_err a future incompat lintRalf Jung-259/+923
2021-02-01Rollup merge of #81387 - c410-f3r:tests-tests-tests, r=petrochenkovJonas Schievink-0/+119
2021-02-01Auto merge of #80851 - m-ou-se:panic-2021, r=petrochenkovbors-16/+18
2021-01-31Move some tests to more reasonable directoriesCaio-0/+119
2021-01-31Rollup merge of #80404 - JulianKnodt:arr_ref, r=oli-obkJonas Schievink-18/+9
2021-01-30Remove const_in_array_rep_exprkadmin-18/+9
2021-01-30Rollup merge of #80886 - RalfJung:stable-raw-ref-macros, r=m-ou-seYuki Okushi-14/+12
2021-01-29rename raw_const/mut -> const/mut_addr_of, and stabilize themRalf Jung-14/+12
2021-01-29Rollup merge of #81333 - RalfJung:const-err-simplify, r=oli-obkYuki Okushi-51/+30
2021-01-27Rollup merge of #80900 - camelid:readpointerasbytes-ice, r=oli-obkYuki Okushi-0/+43
2021-01-25Implement new panic!() behaviour for Rust 2021.Mara Bos-16/+18
2021-01-24Ignore test on 32-bit architecturesCamelid-1/+4
2021-01-24Rollup merge of #78578 - oli-obk:const_mut_refs, r=RalfJungJonas Schievink-138/+283
2021-01-24clean up some const error reporting around promotedsRalf Jung-51/+30
2021-01-23Put dynamic check tests into their own fileoli-24/+64
2021-01-23Cover more cases in the test suiteoli-38/+99
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-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