summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
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-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
2024-07-26Rollup merge of #124941 - Skgland:stabilize-const-int-from-str, r=dtolnayTrevor Gross-4/+2
2024-07-26Auto merge of #128034 - Nadrieril:explain-unreachable, r=compiler-errorsbors-2/+6
2024-07-24Rollup merge of #122192 - oli-obk:type_of_opaque_for_const_checks, r=lcnrMatthias Krüger-128/+16
2024-07-24Do not try to reveal hidden types when trying to prove Freeze in the defining...Oli Scherer-128/+16
2024-07-24Rollup merge of #127374 - estebank:wrong-generic-args, r=oli-obkMatthias Krüger-4/+4
2024-07-24Explain why a given pattern is considered unreachableNadrieril-2/+6
2024-07-23Rollup merge of #125834 - workingjubilee:weaken-thir-unsafeck-for-addr-of-sta...Matthias Krüger-7/+4
2024-07-22Revert suggestion verbosity changeEsteban Küber-28/+12
2024-07-22Change suggestion message wordingEsteban Küber-4/+4
2024-07-22Use verbose suggestion for "wrong # of generics"Esteban Küber-12/+28
2024-07-22compiler: treat `&raw (const|mut) UNSAFE_STATIC` implied deref as safeJubilee Young-7/+4
2024-07-21Auto merge of #127722 - BoxyUwU:new_adt_const_params_limitations, r=compiler-...bors-17/+14
2024-07-19Rollup merge of #127856 - RalfJung:interpret-cast-sanity, r=oli-obkMatthias Krüger-182/+113
2024-07-19Auto merge of #125915 - camelid:const-arg-refactor, r=BoxyUwUbors-3/+3
2024-07-18Use more accurate span for `addr_of!` suggestionEsteban Küber-1/+1
2024-07-18avoid creating an Instance only to immediately disassemble it againRalf Jung-3/+5
2024-07-18const_to_pat: cleanup leftovers from when we had to deal with non-structural ...Ralf Jung-6/+21