summary refs log tree commit diff
path: root/tests/ui/transmutability/structs
AgeCommit message (Collapse)AuthorLines
2024-03-15Safe Transmute: Use 'not yet supported', not 'unspecified' in errorsJack Wrenn-12/+12
We can (and will) support analyzing the transmutability of types whose layouts aren't completely specified by its repr. This change ensures that the error messages remain sensible after this support lands.
2024-02-27safe transmute: revise safety analysisJack Wrenn-60/+55
Migrate to a simplified safety analysis that does not use visibility. Closes https://github.com/rust-lang/project-safe-transmute/issues/15
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-3/+3
2024-01-09Fix an ICE that occurs after an error has already been reportedOli Scherer-0/+47
2023-04-13Improve safe transmute error reportingBryan Garza-36/+24
This patch updates the error reporting when Safe Transmute is not possible between 2 types by including the reason. Also, fix some small bugs that occur when computing the `Answer` for transmutability.
2023-02-21Specify what 'this' actually isMichael Goulet-12/+12
2023-01-11Move /src/test to /testsAlbert Larsan-0/+483