about summary refs log tree commit diff
path: root/tests/ui/cast
AgeCommit message (Expand)AuthorLines
2025-07-17Rollup merge of #143678 - Kivooeo:char-overflow, r=SparrowLiiLeón Orell Valerian Liehr-11/+169
2025-07-13cleaned up some testsKivooeo-5/+21
2025-07-13moved testsKivooeo-0/+130
2025-07-10added error for invalid char castKivooeo-11/+169
2025-07-01cleaned up some testsKivooeo-9/+23
2025-06-30moved testsKivooeo-0/+47
2025-06-24Make missing lifetime suggestion verboseMichael Goulet-9/+16
2025-06-06reword suggestion messageEsteban Küber-3/+3
2025-06-06Make cast suggestions verboseEsteban Küber-12/+24
2025-05-31Note ref expr being cast when encounter NonScalar cast errorxizheyin-0/+2
2025-05-24Add ui test func-pointer-issue-140491xizheyin-0/+16
2025-05-06Structurally resolve in check_ref_castMichael Goulet-0/+22
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-12/+13
2025-04-13Rollup merge of #138962 - xizheyin:issue-138836, r=compiler-errorsJacob Pratt-0/+14
2025-04-10compiletest: Trim the value of `dont-require-annotations`Vadim Petrochenkov-1/+1
2025-04-10compiletest: Make `SUGGESTION` annotations viralVadim Petrochenkov-11/+13
2025-04-03compiletest: Require `//~` annotations even if `error-pattern` is specifiedVadim Petrochenkov-6/+4
2025-03-27Expect an array when expected and acutal types are both arrays during castxizheyin-7/+4
2025-03-26Add ui test cast-array-issue-138836xizheyin-0/+17
2025-03-24Revert "Rollup merge of #136127 - WaffleLapkin:dyn_ptr_unwrap_cast, r=compile...Michael Goulet-376/+0
2025-03-16Rollup merge of #138484 - xizheyin:issue-138392, r=compiler-errors许杰友 Jieyou Xu (Joe)-0/+43
2025-03-14Use lit span when suggesting suffix lit castxizheyin-0/+43
2025-03-13Remove an outdated line from a test commentWaffle Lapkin-1/+0
2025-03-08bless testsWaffle Lapkin-235/+66
2025-03-08add a test for pointer casts involving un/re/wrapping trait objectsWaffle Lapkin-0/+546
2025-03-05Rollup merge of #137728 - Darksonn:no-tuple-unsize, r=oli-obk许杰友 Jieyou Xu (Joe)-17/+1
2025-03-05Rollup merge of #136764 - traviscross:TC/make-ptr_cast_add_auto_to_object-har...许杰友 Jieyou Xu (Joe)-39/+19
2025-02-27Delete tuple unsizingAlice Ryhl-17/+1
2025-02-22Make `ptr_cast_add_auto_to_object` lint into hard errorTravis Cross-39/+19
2025-02-21More sophisticated span trimmingMichael Goulet-3/+2
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-22/+33
2025-01-06`best_blame_constraint`: prioritize blaming interesting-seeming constraintsdianne-5/+17
2025-01-06`best_blame_constraint`: don't filter constraints by sup SCCdianne-23/+19
2024-10-29Remove detail from label/note that is already available in other noteEsteban Küber-1/+1
2024-10-20elaborate why dropping principal in `*dyn` casts is non-trivialLukas Markeffsky-0/+32
2024-10-04Use wide pointers consistenly across the compilerUrgau-1/+1
2024-09-27borrowck: use subtyping instead of equality for ptr-to-ptr castsLukas Markeffsky-28/+1
2024-09-27add even more tests for ptr-to-ptr casts on trait objectsLukas Markeffsky-7/+92
2024-09-24improve errors for invalid pointer castsLukas Markeffsky-33/+20
2024-09-24replace "cast" with "coercion" where applicableLukas Markeffsky-1/+1
2024-09-24use more accurate spans for user type ascriptionsLukas Markeffsky-4/+4
2024-09-24add another testLukas Markeffsky-1/+14
2024-08-27Arbitrary self types v2: pointers feature gate.Adrian Taylor-1/+1
2024-08-14Rollup merge of #128759 - notriddle:notriddle/spec-to-string, r=workingjubile...Matthias Krüger-0/+3
2024-08-13diagnostics: use `DeepRejectCtxt` for checkMichael Howell-0/+3
2024-08-11Normalize struct tail properly in borrowck and hir typeckMichael Goulet-1/+19
2024-08-05Normalize when equating dyn tails in MIR borrowckMichael Goulet-0/+21
2024-07-14Use ordinal number in argument errorlong-long-float-1/+1
2024-07-07Allow casting `*mut dyn T`->`*mut (dyn T + Send)` if `T` has `Send` super traitMaybe Lapkin-0/+9
2024-07-05Equate types instead of using `Unsize`Maybe Lapkin-26/+27