about summary refs log tree commit diff
path: root/tests/ui/cast
AgeCommit message (Expand)AuthorLines
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
2023-12-20fix: diagnostic for casting reference to sliceVeera-0/+27
2023-11-24Show number in error message even for one errorNilstrieb-14/+14
2023-10-25Never consider raw pointer casts to be trivalNilstrieb-0/+24
2023-09-22make unsized cast illegalouz-a-0/+15
2023-09-18Migrate 'cast to bool' diagnosticclubby789-7/+32
2023-09-11add source type for invalid bool castsasquared31415-8/+92
2023-01-15suggest `is_empty` for collections when casting to `bool`Ezra Shaw-3/+97
2023-01-11Move /src/test to /testsAlbert Larsan-0/+1172