summary refs log tree commit diff
path: root/tests/ui/cast
AgeCommit message (Expand)AuthorLines
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
2024-07-04Add a test for `*const Tr<A>` to `*const Tr<B>` castsMaybe Waffle-0/+41
2024-05-11FIx ICE while casting a type with errorGurinder Singh-0/+81
2024-04-21Miri: detect wrong vtables in wide pointersRalf Jung-1/+1
2024-03-19add test for casting pointer to union with unsized tailLukas Markeffsky-0/+37
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-17/+17
2024-02-12Lint on reference casting to bigger underlying allocationUrgau-6/+6
2024-02-09Emit more specific diagnostics when enums fail to cast with `as`Gurinder Singh-1/+84
2024-02-07Update testsr0cky-2/+24
2023-12-20Update existing testsVeera-1/+1