about summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
2024-09-14interpret: fix dealing with overflow during slice indexingRalf Jung-0/+22
2024-09-13Update tests for hidden references to mutable staticObei Sideg-6/+8
2024-09-13Auto merge of #129137 - camelid:lazy-def-macro-const, r=BoxyUwUbors-3/+3
2024-09-12Re-enable `ConstArgKind::Path` lowering by defaultNoah Lev-3/+3
2024-09-12Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-deadMatthias Krüger-3/+1
2024-09-11Rollup merge of #129835 - RalfJung:float-tests, r=workingjubileeJubilee-248/+0
2024-09-10move float tests into their own dirJubilee Young-248/+0
2024-09-10turn errors that should be impossible due to our static checks into ICEsRalf Jung-1/+4
2024-09-10const-eval interning: accpt interior mutable pointers in final value (but kee...Ralf Jung-472/+79
2024-09-09Ban non-array SIMDScott McMurray-16/+7
2024-09-08remove const_slice_index annotations, it never had a feature gate anywayRalf Jung-3/+1
2024-09-08const: make ptr.is_null() stop execution on ambiguityRalf Jung-0/+39
2024-09-07Rollup merge of #129555 - RalfJung:const_float_bits_conv, r=dtolnayMatthias Krüger-5/+3
2024-09-04propagate `tainted_by_errors` in `MirBorrowckCtxt::emit_errors`Folkert de Vries-2/+8
2024-09-01stabilize const_float_bits_convRalf Jung-5/+3
2024-09-01Rollup merge of #129207 - GrigorenkoPV:elided-is-named, r=cjgillotMatthias Krüger-3/+23
2024-08-31Auto merge of #129831 - matthiaskrgr:rollup-befq6zx, r=matthiaskrgrbors-2/+2
2024-08-31make the const-unstable-in-stable error more clearRalf Jung-2/+2
2024-08-31Rollup merge of #129659 - RalfJung:const-fn-lang-feat, r=fee1-deadMatthias Krüger-0/+20
2024-08-31elided_named_lifetimes: bless & add testsPavel Grigorenko-3/+23
2024-08-31const fn stability checking: also check declared language featuresRalf Jung-0/+20
2024-08-28Rollup merge of #129613 - RalfJung:interpret-target-feat, r=saethlinMatthias Krüger-11/+6
2024-08-27Rollup merge of #129507 - RalfJung:per-fn-const_precise_live_drops, r=wesleyw...Matthias Krüger-0/+29
2024-08-26Rollup merge of #129190 - rezwanahmedsami:master, r=tgross35Matthias Krüger-1/+69
2024-08-26interpret: do not make const-eval query result depend on tcx.sessRalf Jung-11/+6
2024-08-25tweak rustc_allow_const_fn_unstable hint, and add back test for stable-const-...Ralf Jung-8/+16
2024-08-25make it possible to enable const_precise_live_drops per-functionRalf Jung-0/+29
2024-08-24Rollup merge of #129246 - BoxyUwU:feature_gate_const_arg_path, r=cjgillotMatthias Krüger-3/+3
2024-08-24Rollup merge of #129199 - RalfJung:writes_through_immutable_pointer, r=compil...Matthias Krüger-52/+11
2024-08-24Rollup merge of #128596 - RalfJung:const_fn_floating_point_arithmetic, r=nnet...Matthias Krüger-139/+48
2024-08-22stabilize const_fn_floating_point_arithmeticRalf Jung-139/+48
2024-08-22Do not rely on names to find lifetimes.Camille GILLOT-6/+6
2024-08-21Rollup merge of #129281 - Nadrieril:tweak-unreachable-lint-wording, r=estebankMatthias Krüger-4/+4
2024-08-19Reword the "unreachable pattern" explanationsNadrieril-4/+4
2024-08-19Retroactively feature gate `ConstArgKind::Path`Boxy-3/+3
2024-08-18stabilize raw_ref_opRalf Jung-49/+35
2024-08-18Added #[cfg(target_arch = x86_64)] to f16 and f128Rezwan ahmed sami-2/+7
2024-08-18Add f16 and f128 to tests/ui/consts/const-float-bits-conv.rsRezwan ahmed sami-1/+64
2024-08-17make writes_through_immutable_pointer a hard errorRalf Jung-52/+11
2024-08-17more clear NAN names and fix broken_floats logicRalf Jung-12/+14
2024-08-17disable problematic float-conv tests in i586 targetsRalf Jung-6/+13
2024-08-16float to/from bits and classify: update comments regarding non-conformant har...Ralf Jung-183/+22
2024-08-13Auto merge of #128742 - RalfJung:miri-vtable-uniqueness, r=saethlinbors-77/+152
2024-08-10Update testsNadrieril-2/+2
2024-08-09interpret: make identity upcasts a NOP again to avoid them generating a new r...Ralf Jung-77/+152
2024-08-01fix the way we detect overflow for inbounds arithmetic (and tweak the error m...Ralf Jung-2/+2
2024-08-01interpret: simplify pointer arithmetic logicRalf Jung-7/+7
2024-08-01on a signed deref check, mention the right pointer in the errorRalf Jung-16/+16
2024-07-27improve dangling/oob errors and make them more uniformRalf Jung-57/+59
2024-07-27miri: fix offset_from behavior on wildcard pointersRalf Jung-5/+5