about summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
2023-05-23add tests for const `NonNull::as_ref`Lukas Markeffsky-0/+30
2023-05-21Rename `forget_copy` lint to `forgetting_copy_types`Urgau-2/+2
2023-05-15Suppress "erroneous constant used" for constants tainted by errorsTomasz Miąsko-199/+15
2023-05-12Auto merge of #109732 - Urgau:uplift_drop_forget_ref_lints, r=davidtwcobors-0/+5
2023-05-10Adjust tests for new drop and forget lintsUrgau-0/+5
2023-05-05Stabilize const_ptr_readbors-25/+22
2023-05-04Rollup merge of #111100 - BoxyUwU:array_repeat_expr_wf, r=compiler-errorsMatthias Krüger-2/+12
2023-05-04check array type of repeat exprs is wfBoxy-2/+12
2023-05-04Rollup merge of #110859 - compiler-errors:no-negative-drop-impls, r=oli-obkMatthias Krüger-22/+2
2023-05-04Rollup merge of #110943 - RalfJung:interpret-unsized-arg-ice, r=oli-obkDylan DPC-81/+0
2023-05-01Rip it outNilstrieb-1/+1
2023-04-28move some const-prop tests to appropriate folderRalf Jung-81/+0
2023-04-27bless testsThe 8472-4/+4
2023-04-27Explicitly reject negative and reservation drop implsMichael Goulet-22/+2
2023-04-25Rollup merge of #110480 - whtahy:105107/known-bug-tests-for-unsound-issues, r...Yuki Okushi-0/+38
2023-04-22add known-bug test for unsound issue 49206whtahy-0/+38
2023-04-22Encode lifetime param spans tooMichael Goulet-30/+0
2023-04-21Ensure mir_drops_elaborated_and_const_checked when requiring codegen.Camille GILLOT-0/+2
2023-04-19Auto merge of #110061 - WaffleLapkin:duality_of_myself_and_this, r=cjgillotbors-0/+4
2023-04-19Extend and use `hir::Node::body_id`Maybe Waffle-0/+4
2023-04-19Auto merge of #110393 - fee1-dead-contrib:rm-const-traits, r=oli-obkbors-130/+254
2023-04-17Encode def span for ConstParamMichael Goulet-0/+30
2023-04-16fix library and rustdoc testsDeadbeef-130/+254
2023-04-15Only enable ConstProp at mir-opt-level >= 2.Camille GILLOT-32/+0
2023-04-12Tweak output for 'add line' suggestionEsteban Küber-9/+18
2023-04-08bless ui testsDeadbeef-5/+34
2023-04-06Auto merge of #108504 - cjgillot:thir-pattern, r=compiler-errors,Nilstriebbors-147/+37
2023-04-05Bless testsThom Chiovoloni-2/+2
2023-04-03Reinstate confusion note.Camille GILLOT-20/+23
2023-04-03Perform match checking on THIR.Camille GILLOT-170/+57
2023-03-29Rollup merge of #109664 - m-ou-se:format-args-placeholder-span, r=oli-obkDylan DPC-4/+4
2023-03-28Auto merge of #109557 - fee1-dead-contrib:mv-const-traits, r=oli-obkbors-35/+85
2023-03-28Move const trait bounds checks to MIR constckDeadbeef-35/+85
2023-03-27Add notes to non-structural const in pattern error messageJamen Marz-10/+94
2023-03-27Bless UI tests.Mara Bos-4/+4
2023-03-22Add `CastKind::Transmute` to MIRScott McMurray-7/+68
2023-03-21Detect uninhabited types early in const eval.Oli Scherer-28/+26
2023-03-16Don't allow new const panic through format flattening.Mara Bos-11/+21
2023-03-15Auto merge of #108282 - cjgillot:mir-checked-sh, r=tmiaskobors-3/+3
2023-03-15Auto merge of #109035 - scottmcm:ptr-read-should-know-undef, r=WaffleLapkin,J...bors-22/+4
2023-03-13Auto merge of #108471 - clubby789:unbox-the-syntax, r=Nilstrieb,est31bors-20/+14
2023-03-12Auto merge of #108872 - cjgillot:simp-const-prop, r=oli-obkbors-6/+6
2023-03-12Remove uses of `box_syntax` in rustc and toolsclubby789-20/+14
2023-03-11`MaybeUninit::assume_init_read` should have `noundef` load metadataScott McMurray-22/+4
2023-03-09Test `let _ =` for const_mut_refs.Camille GILLOT-1/+13
2023-03-08Recurse into statement before applying its effect.Camille GILLOT-6/+6
2023-03-05Use `nuw` when calculating slice lengths from `Range`sScott McMurray-0/+27
2023-02-27Implement checked Shl/Shr at MIR building.Camille GILLOT-3/+3
2023-02-24Rollup merge of #106541 - fee1-dead-contrib:no-const-check-no, r=thomccDylan DPC-0/+16
2023-02-21Rollup merge of #108295 - compiler-errors:wtf-is-this, r=cjgillotMatthias Krüger-1/+1