summary refs log tree commit diff
path: root/tests/ui/cast
AgeCommit message (Expand)AuthorLines
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
2024-07-04Sort trait names before printingMaybe Lapkin-3/+3
2024-07-04Properly normalize types in bck when checking pointer castsMaybe Lapkin-0/+42
2024-07-04Fill in tracking issueMaybe Lapkin-4/+4
2024-07-04Use `DiagSymbolList` for a lint diagnosticMaybe Lapkin-1/+28
2024-07-04Align the changes to the lang decisionMaybe Lapkin-7/+21
2024-07-04Actually check that the traits are the same for casting pointers to dyn _Waffle Lapkin-5/+31
2024-07-04test blessingWaffle Lapkin-11/+10
2024-07-04blessingsMaybe Waffle-8/+2
2024-07-04Add more checks for pointers with vtable metaMaybe Waffle-29/+205
2024-07-04Add tests for `*const Trait<'a>` -> `*const Trait<'b>` and similar castsMaybe Waffle-0/+99
2024-07-04Forbid casts of raw pointers to trait objects with the same trait, but differ...Maybe Waffle-16/+28