summary refs log tree commit diff
path: root/src/test/ui/consts/const-eval
AgeCommit message (Expand)AuthorLines
2022-04-30Also report the call site of PME errors locally.Oli Scherer-0/+12
2022-04-21Update `validate_uninhabited_zsts.rs` test after MIR building changesTomasz Miąsko-34/+55
2022-04-20Rollup merge of #93313 - tmiasko:uninhabited, r=tmandryDylan DPC-47/+21
2022-04-11Add const eval tests ensuring padding gets correctly marked as deinit on deag...Jakob Degen-0/+37
2022-04-11Bless tests that broke in a trivial way due to change in deaggregationJakob Degen-8/+8
2022-04-04Refer to the TraitRef::identity in the message to be clearerEsteban Kuber-2/+2
2022-04-04Dedup logic and improve output for other types that impl traitEsteban Kuber-10/+10
2022-04-04Fix list lengthEsteban Kuber-0/+8
2022-04-04Mention implementers of unsatisfied traitEsteban Kuber-0/+12
2022-04-02diagnostics: add test case for bogus T:Sized suggestionMichael Howell-0/+24
2022-04-02Rollup merge of #95354 - dtolnay:rustc_const_stable, r=lcnrDylan DPC-1/+1
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-1/+1
2022-03-31catch overflow in slice size computationRalf Jung-42/+67
2022-03-24Check if call return type is visibly uninhabited when building MIRTomasz Miąsko-47/+21
2022-03-24Auto merge of #94934 - Lireer:const-prop-lint, r=oli-obkbors-16/+162
2022-03-23separate const prop lint from optimizationsCarl Scherer-16/+162
2022-03-22bless 32bitRalf Jung-1/+1
2022-03-22interpret/memory: simplify check_and_deref_ptrRalf Jung-3/+3
2022-03-09keep ERROR in messageb-naber-3/+3
2022-03-09manually bless 32-bit stderrb-naber-1/+0
2022-03-09normalization change and rebaseb-naber-18/+8
2022-03-09bless testsb-naber-7/+18
2022-03-07Update tests after feature stabilizationEric Holk-27/+2
2022-03-03Cleanup feature gates.Camille GILLOT-3/+1
2022-02-24Miri fn ptr check: don't use conservative null checkRalf Jung-2/+2
2022-02-23Miri: relax fn ptr checkRalf Jung-18/+92
2022-02-12Update chalk testsMatthew Jasper-0/+18
2022-02-07Auto merge of #93179 - Urgau:unreachable-2021, r=m-ou-se,oli-obkbors-5/+5
2022-02-06Rollup merge of #91939 - GKFX:feature-91866, r=cjgillotMatthias Krüger-0/+6
2022-01-31Fix invalid special casing of the unreachable! macroLoïc BRANSTETT-5/+5
2022-01-29Document about some behaviors of `const_(de)allocate` and add some tests.woppopo-0/+33
2022-01-26`const_deallocate`: Don't deallocate memory allocated in an another const. Do...woppopo-4/+27
2022-01-25#91939: integer to char cast error, make more targetedGeorge Bateman-0/+6
2022-01-23Add `intrinsics::const_deallocate`woppopo-0/+127
2021-12-21Use panic() instead of panic!() in some places in core.Mara Bos-10/+10
2021-12-15miri: lift restriction on extern types being the only field in a structTomasz Miąsko-0/+58
2021-12-05add test and bless existing onesb-naber-1/+1
2021-11-28Rollup merge of #90131 - camsteffen:fmt-args-span-fix, r=cjgillotMatthias Krüger-0/+3
2021-11-20Rollup merge of #90999 - RalfJung:miri_simd, r=oli-obkMatthias Krüger-6/+16
2021-11-18CTFE SIMD: also test 1-element arrayRalf Jung-1/+10
2021-11-18fix CTFE/Miri simd_insert/extract on array-style repr(simd) typesRalf Jung-6/+7
2021-11-17Rollup merge of #90687 - jhpratt:const_panic, r=oli-obkMatthias Krüger-0/+46
2021-11-08Permit const assertions in stdlibJacob Pratt-0/+46
2021-11-06Stabilize `const_raw_ptr_deref` for `*const T`Jacob Pratt-66/+21
2021-10-29Fix a format_args span to be expansionCameron Steffen-0/+3
2021-10-18add test for issue 84957cameron-0/+28
2021-10-04Rollup merge of #89508 - jhpratt:stabilize-const_panic, r=joshtriplettJubilee-108/+59
2021-10-04Stabilize `const_panic`Jacob Pratt-108/+59
2021-10-03Practice diagnostic message conventionHirochika Matsumoto-3/+3
2021-09-15Allow `panic!("{}", computed_str)` in const fn.Gary Guo-37/+83